From eac2b08341584c99bda9e87d7cf4920d10bca218 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Fri, 25 Jun 2021 10:51:03 +0800 Subject: openvino-inference-engine: disable opencl Temporarily disable opencl since intel-graphics-compiler and vc-intrinsics compile failed since some api of llvm changed. Signed-off-by: Changqing Li Signed-off-by: Anuj Mittal --- .../recipes-support/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..2d8c7b59 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 depends on +#intel-graphics-compiler and vc-intrinsics and these two recipes fail to +#compile with LLVM13. Enable it after upstream has fixed 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" -- cgit v1.2.3-54-g00ecf