From 2da4523e0861e9a246338c645bf3115033176e7f Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Fri, 19 May 2023 15:48:46 +0800 Subject: openvkl: disable avx ISAs for intel-corei7-64 machine It enables them by default instead of checking based on what is supported. openvklTest throws following error: SIGILL - Illegal instruction signal Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal (cherry picked from commit 2b37e2a69cfe0a46c3f52c7f333a9a60b03dcdc3) Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- .../openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb index 4691b07f..2f581639 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb @@ -30,6 +30,12 @@ DEPENDS = "ispc-native rkcommon embree" EXTRA_OECMAKE += " \ -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ " +EXTRA_OECMAKE:intel-corei7-64 += " \ + -DOPENVKL_ISA_AVX=OFF \ + -DOPENVKL_ISA_AVX2=OFF \ + -DOPENVKL_ISA_AVX512SKX=OFF \ + " + PACKAGES =+ "${PN}-examples" FILES:${PN}-examples = "\ ${bindir} \ -- cgit v1.2.3-54-g00ecf