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 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 96e591262b2c..07a503a5462e 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 @@ -41,7 +41,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 (#7125): https://lists.yoctoproject.org/g/meta-intel/message/7125 Mute This Topic: https://lists.yoctoproject.org/mt/83887662/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
