diff options
author | Cong Gu | 2017-02-28 16:03:22 -0600 |
---|---|---|
committer | Cong Gu | 2017-02-28 16:03:22 -0600 |
commit | 1e5f6dc5c81eafd3f7e7133e4bde06a0846b83df (patch) | |
tree | 741f16ea490906cb1d51ee0fa8a65f5df09ee6ec /sse4_2.patch | |
parent | e5938f57c5019d92dcfc0e0f191fdf0578afef1d (diff) | |
download | aur-1e5f6dc5c81eafd3f7e7133e4bde06a0846b83df.tar.gz |
depend libgl; fix sse4.2 config error
Diffstat (limited to 'sse4_2.patch')
-rw-r--r-- | sse4_2.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sse4_2.patch b/sse4_2.patch new file mode 100644 index 000000000000..fe323568de81 --- /dev/null +++ b/sse4_2.patch @@ -0,0 +1,12 @@ +diff -Naur ospray-1.2.0/cmake/configure_embree.cmake ospray-1.2.0_modified/cmake/configure_embree.cmake
+--- ospray-1.2.0/cmake/configure_embree.cmake 2017-02-08 21:47:00.000000000 +0100
++++ ospray-1.2.0_modified/cmake/configure_embree.cmake 2017-02-28 09:57:52.830269111 +0100
+@@ -65,6 +65,8 @@
+
+ IF (${EMBREE_MAX_ISA} STREQUAL "SSE4.1")
+ SET(EMBREE_ISA_SUPPORTS_SSE4 TRUE)
++ ELSEIF (${EMBREE_MAX_ISA} STREQUAL "SSE4.2")
++ SET(EMBREE_ISA_SUPPORTS_SSE4 TRUE)
+ ELSEIF (${EMBREE_MAX_ISA} STREQUAL "AVX")
+ SET(EMBREE_ISA_SUPPORTS_SSE4 TRUE)
+ SET(EMBREE_ISA_SUPPORTS_AVX TRUE)
|