From 2b37e2a69cfe0a46c3f52c7f333a9a60b03dcdc3 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Tue, 28 Mar 2023 09:48:05 +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 --- .../openembedded-layer/recipes-oneapi/openvkl/openvkl_1.3.2.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dynamic-layers/openembedded-layer') diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.3.2.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.3.2.bb index 3e4113f0..6eca2172 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.3.2.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.3.2.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