From 023266fcbf67e4c8fc7c4f6b951948384ba8282b Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Fri, 21 Oct 2022 17:03:54 +0800 Subject: openvino-inference-engine : upgrade 2022.1.1 -> 2022.2.0 - Change gflag to shared as we are not building with static library. - We are using zlib from yocto recipe, so don't add zlib as third party package - Third party package mkl-dnn name changed to onednn upstream in openvino repo so changed the name accordingly in openvino-inference-engine recipe - Refresh patches Release Notes: https://github.com/openvinotoolkit/openvino/releases/tag/2022.2.0 Signed-off-by: Yogesh Tyagi Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- ...03-Fix-build-issues-due-to-gflag-and-zlib.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Fix-build-issues-due-to-gflag-and-zlib.patch (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Fix-build-issues-due-to-gflag-and-zlib.patch') diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Fix-build-issues-due-to-gflag-and-zlib.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Fix-build-issues-due-to-gflag-and-zlib.patch new file mode 100644 index 00000000..ffb0f95d --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Fix-build-issues-due-to-gflag-and-zlib.patch @@ -0,0 +1,40 @@ +From a817386f1d0539a040fbdc02853a73bbcdddf1f1 Mon Sep 17 00:00:00 2001 +From: Yogesh Tyagi +Date: Fri, 30 Sep 2022 20:26:04 +0800 +Subject: [PATCH] Fix build issues due to gflag and zlib + +Change gflag to shared as we are not building with static library. +We are using zlib from host, so don't add zlib as third party package + +Upstream-Status: Inappropriate + +Signed-off-by: Yogesh Tyagi +--- + thirdparty/CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt +index 4cba1588fe..f82bf3148b 100644 +--- a/thirdparty/CMakeLists.txt ++++ b/thirdparty/CMakeLists.txt +@@ -39,7 +39,7 @@ if(NOT CMAKE_CROSSCOMPILING) + endif() + + if(NOT zlib_FOUND) +- add_subdirectory(zlib EXCLUDE_FROM_ALL) ++ #add_subdirectory(zlib EXCLUDE_FROM_ALL) + endif() + + # +@@ -85,7 +85,7 @@ ov_install_static_lib(fluid openvino_common) + + if(NOT APPLE) + # on Apple only dynamic libraries are available +- find_package(gflags QUIET COMPONENTS nothreads_static) ++ find_package(gflags QUIET COMPONENTS nothreads_shared) + endif() + + if(gflags_FOUND) +-- +2.37.3 + -- cgit v1.2.3-54-g00ecf