summaryrefslogtreecommitdiff
path: root/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-04 13:56:44 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-03-04 13:56:44 +0000
commit34b1a8d927141fa7703a65daa443e70e39da5ffa (patch)
tree0b44daf13a97dbbe9187325e606568d4462b878f /graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
parentgraphics/imp: Adopt port (diff)
- Resurrect, unbreak, and update to the latest version 2.1.0-beta
- Disable appleseed.studio for now: while it had been ported to Qt5, it still heavily relies on Python 2.x - Drop the options: C++11 is required now, and API examples are of little interest to end-users so just stop installing them - Add dependencies on `archivers/liblz4' and `graphics/openimageio' - GC no longer needed work-arounds for old versions of Clang
Diffstat (limited to 'graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt')
-rw-r--r--graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt b/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
new file mode 100644
index 000000000000..239885b5b40d
--- /dev/null
+++ b/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
@@ -0,0 +1,15 @@
+--- cmake/config/linux-gcc-clang.txt.orig 2019-08-31 15:49:01 UTC
++++ cmake/config/linux-gcc-clang.txt
+@@ -150,12 +150,6 @@ if (HIDE_SYMBOLS)
+ )
+ endif ()
+
+-# Release configuration.
+-set (c_compiler_flags_release
+- -O3 # optimization level
+- -fgcse-las # Eliminates stores followed by a load to the same positions.
+- -fgcse-sm # Moves load/save instructions out of loops, if possible.
+-)
+
+
+ #--------------------------------------------------------------------------------------------------