From: Changqing Li <[email protected]>

Temporarily disable opencl since intel-graphics-compiler and vc-intrinsics
compile failed since some api of llvm changed.

Signed-off-by: Changqing Li <[email protected]>
---
 .../opencv/openvino-inference-engine_2021.3.bb              | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/openvino-inference-engine_2021.3.bb
 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/openvino-inference-engine_2021.3.bb
index 96e59126..67e3b2fe 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/openvino-inference-engine_2021.3.bb
+++ 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/openvino-inference-engine_2021.3.bb
@@ -65,7 +65,11 @@ DEPENDS += "libusb1 \
 COMPATIBLE_HOST = '(x86_64).*-linux'
 COMPATIBLE_HOST_libc-musl = "null"
 
-PACKAGECONFIG ?= "vpu opencl"
+#Disable opencl temporarily, intel-compute-runtime depend on 
+#intel-graphics-compiler and vc-intrinsics, these two recipes compile
+#failed, because llvm api is changed. Enable it after upstream fix it.
+#PACKAGECONFIG ?= "vpu opencl"
+PACKAGECONFIG ?= "vpu"
 PACKAGECONFIG[opencl] = "-DENABLE_CLDNN=1 
-DCLDNN__IOCL_ICD_INCDIRS=${STAGING_INCDIR} 
-DCLDNN__IOCL_ICD_STLDIRS=${STAGING_LIBDIR} 
-DCLDNN__IOCL_ICD_SHLDIRS=${STAGING_LIBDIR}, -DENABLE_CLDNN=0, ocl-icd 
opencl-headers libva, intel-compute-runtime"
 PACKAGECONFIG[python3] = "-DENABLE_PYTHON=ON 
-DPYTHON_LIBRARY=${PYTHON_LIBRARY} -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR}, 
-DENABLE_PYTHON=OFF, python3-cython-native, python3 python3-numpy 
python3-opencv python3-progress python3-cython"
 PACKAGECONFIG[vpu] = "-DENABLE_VPU=ON 
-DVPU_FIRMWARE_USB-MA2X8X_FILE=../mvnc/usb-ma2x8x.mvcmd 
-DVPU_FIRMWARE_PCIE-MA2X8X_FILE=../mvnc/pcie-ma2x8x.mvcmd,-DENABLE_VPU=OFF,,${PN}-vpu-firmware"
-- 
2.17.1

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

Reply via email to