Issue: LINCD-5250 onednn was removed from the dependency list of openvino, specify the right directory where hold TBBConfig.cmake, this fix the below config error:
| -- Could NOT find TBB (missing: TBB_DIR) | CMake Error at /openvino/20210508/build/tmp-glibc/work/corei7-64-wrs-linux/openvino-inference-engine/2021.3-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): | Could NOT find TBB: found neither TBBConfig.cmake nor tbb-config.cmake (LOCAL REV: NOT UPSTREAM) -- send to meta-intel on 20210513 Signed-off-by: Liwei Song <[email protected]> --- .../recipes-support/opencv/openvino-inference-engine_2021.3.bb | 2 +- 1 file changed, 1 insertion(+), 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 a6f4e416de75..b5a60f3d822f 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 @@ -40,7 +40,7 @@ EXTRA_OECMAKE += " \ -DENABLE_GNA=0 \ -DPYTHON_EXECUTABLE=${PYTHON} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DTHREADING=TBB -DTBB_DIR=${STAGING_LIBDIR}/cmake/TBB \ + -DTHREADING=TBB -DTBB_DIR=${S}/cmake/developer_package/tbb/lnx \ -DENABLE_SAMPLES=1 \ -DIE_CPACK_IE_DIR=${prefix} \ -DNGRAPH_UNIT_TEST_ENABLE=FALSE \ -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7041): https://lists.yoctoproject.org/g/meta-intel/message/7041 Mute This Topic: https://lists.yoctoproject.org/mt/82794541/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
