mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
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>
This commit is contained in:
parent
65c8a636ed
commit
9cbaffdb1c
|
|
@ -21,14 +21,10 @@ COMPATIBLE_HOST = '(x86_64).*-linux'
|
|||
|
||||
DEPENDS = "tbb jpeg libpng glfw ispc-native"
|
||||
|
||||
EMBREE-MAX-ISA = "SSE4.2"
|
||||
EMBREE-MAX-ISA_intel-corei7-64 = "SSE4.2"
|
||||
EMBREE-MAX-ISA_intel-skylake-64 = "AVX2"
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DEMBREE_ISPC_SUPPORT=OFF \
|
||||
-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \
|
||||
-DEMBREE_MAX_ISA=${EMBREE-MAX-ISA} \
|
||||
-DEMBREE_MAX_ISA=DEFAULT \
|
||||
-DEMBREE_TUTORIALS=OFF \
|
||||
-DEMBREE_ISPC_SUPPORT=ON \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user