aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rwxr-xr-xports/embree3/CONTROL2
-rw-r--r--ports/embree3/fix-static-usage.patch8
2 files changed, 8 insertions, 2 deletions
diff --git a/ports/embree3/CONTROL b/ports/embree3/CONTROL
index 1b11e6904..332077fd0 100755
--- a/ports/embree3/CONTROL
+++ b/ports/embree3/CONTROL
@@ -1,6 +1,6 @@
Source: embree3
Version: 3.11.0
-Port-Version: 1
+Port-Version: 2
Homepage: https://github.com/embree/embree
Description: High Performance Ray Tracing Kernels.
Build-Depends: tbb
diff --git a/ports/embree3/fix-static-usage.patch b/ports/embree3/fix-static-usage.patch
index 7af99df16..2a0d221e4 100644
--- a/ports/embree3/fix-static-usage.patch
+++ b/ports/embree3/fix-static-usage.patch
@@ -2,7 +2,7 @@ diff --git a/common/cmake/embree-config.cmake b/common/cmake/embree-config.cmake
index 14ce929..7e2e8f5 100644
--- a/common/cmake/embree-config.cmake
+++ b/common/cmake/embree-config.cmake
-@@ -50,6 +50,16 @@ IF (EMBREE_STATIC_LIB)
+@@ -50,6 +50,22 @@ IF (EMBREE_STATIC_LIB)
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/simd-targets.cmake")
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/lexers-targets.cmake")
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/tasking-targets.cmake")
@@ -16,6 +16,12 @@ index 14ce929..7e2e8f5 100644
+ IF(EMBREE_ISA_AVX2)
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx2-targets.cmake")
+ ENDIF()
++ IF(EMBREE_ISA_AVX512KNL)
++ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx512knl-targets.cmake")
++ ENDIF()
++ IF(EMBREE_ISA_AVX512SKX)
++ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx512skx-targets.cmake")
++ ENDIF()
ENDIF()
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree-targets.cmake")