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 <[email protected]>
Signed-off-by: Anuj Mittal <[email protected]>
(cherry picked from commit 2b37e2a69cfe0a46c3f52c7f333a9a60b03dcdc3)
Signed-off-by: Naveen Saini <[email protected]>
---
 .../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} \
-- 
2.37.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7957): 
https://lists.yoctoproject.org/g/meta-intel/message/7957
Mute This Topic: https://lists.yoctoproject.org/mt/99007597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to