diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2021-07-06 10:09:32 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-07-06 13:51:35 +0800 |
commit | 9cbaffdb1cb0bf0a94d3faebf70b441b570ed699 (patch) | |
tree | 11eb5a5bbbf4c3c108b415c1efd4a1bf3420d851 /dynamic-layers | |
parent | 65c8a636edc7ace259841a59ef28c43577400ae3 (diff) | |
download | meta-intel-9cbaffdb1cb0bf0a94d3faebf70b441b570ed699.tar.gz |
embree: fix ISA configuration
let cmake calculate ISA configuration.
Ref:
https://github.com/embree/embree/blob/v3.13.0/common/cmake/check_isa_default.cmake
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_3.13.0.bb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_3.13.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_3.13.0.bb index eb7737fc..2461eeeb 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_3.13.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_3.13.0.bb | |||
@@ -21,14 +21,10 @@ COMPATIBLE_HOST = '(x86_64).*-linux' | |||
21 | 21 | ||
22 | DEPENDS = "tbb jpeg libpng glfw ispc-native" | 22 | DEPENDS = "tbb jpeg libpng glfw ispc-native" |
23 | 23 | ||
24 | EMBREE-MAX-ISA = "SSE4.2" | ||
25 | EMBREE-MAX-ISA_intel-corei7-64 = "SSE4.2" | ||
26 | EMBREE-MAX-ISA_intel-skylake-64 = "AVX2" | ||
27 | |||
28 | EXTRA_OECMAKE += " \ | 24 | EXTRA_OECMAKE += " \ |
29 | -DEMBREE_ISPC_SUPPORT=OFF \ | 25 | -DEMBREE_ISPC_SUPPORT=OFF \ |
30 | -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \ | 26 | -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \ |
31 | -DEMBREE_MAX_ISA=${EMBREE-MAX-ISA} \ | 27 | -DEMBREE_MAX_ISA=DEFAULT \ |
32 | -DEMBREE_TUTORIALS=OFF \ | 28 | -DEMBREE_TUTORIALS=OFF \ |
33 | -DEMBREE_ISPC_SUPPORT=ON \ | 29 | -DEMBREE_ISPC_SUPPORT=ON \ |
34 | " | 30 | " |