meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-CPU-Solving-the-build-failure-caused-by-setting-the-.patch
Yogesh Tyagi 06781f8c81 openvino-inference-engine : upgrade 2023.3.0 -> 2024.0.0
- Removed the Cython patch, which is no longer relevant
  as Legacy IE python API has been removed:
  a561a2a484

- Remove cython dependency as well from recipe

- Remove the switch disabling MLAS support. It's enabled by default.
  Fetch the submodule as well and include the file pointing to its
  Apache-2.0 license in LIC_FILES_CHKSUM.

- Update conditional check to exclude directories which have "/usr/include"
  in them to not add <sysroot>/usr/include as well.

- Backport a patch which solves the build failure caused by setting the
  "ENABLE_OV_ONNX_FRONTEND" option to "OFF"

Release Notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2024.0.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-03-18 15:16:23 +08:00

44 lines
1.9 KiB
Diff

From b8c3bae71e6d3417ade5cb537cb1785fd75a75c8 Mon Sep 17 00:00:00 2001
From: Razvan Apetroaie <117895604+razvanapetroaie@users.noreply.github.com>
Date: Tue, 20 Feb 2024 02:28:14 +0200
Subject: [PATCH] [CPU] Solving the build failure caused by setting the
"ENABLE_OV_ONNX_FRONTEND" option to "OFF" (#22934)
### Details:
See the [ticket
description](https://jira.devtools.intel.com/browse/CVS-132119). The
solution was checked only on a local setup on Ubuntu, if there's a way
to check that using the CI please let me know (or if you could run the
job and paste the link in the comments I would be grateful).
Disclaimer: I'm not a CPU plugin developer, so I can't tell for sure if
this is the ideal fix and no side effects are introduced. Please take
that into account when reviewing/merging.
### Tickets:
- [CVS-132119](https://jira.devtools.intel.com/browse/CVS-132119)
Upstream-Status: Backport [https://github.com/openvinotoolkit/openvino/commit/b8c3bae71e6d3417ade5cb537cb1785fd75a75c8]
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
---
src/plugins/intel_cpu/tests/functional/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/intel_cpu/tests/functional/CMakeLists.txt b/src/plugins/intel_cpu/tests/functional/CMakeLists.txt
index db5ae8d01c..6941cb528d 100644
--- a/src/plugins/intel_cpu/tests/functional/CMakeLists.txt
+++ b/src/plugins/intel_cpu/tests/functional/CMakeLists.txt
@@ -16,7 +16,7 @@ set(LINK_LIBRARIES funcSharedTests cpuSpecificRtInfo openvino::snippets ov_snipp
if(ENABLE_OV_ONNX_FRONTEND)
list(APPEND DEFINES TEST_MODELS="${TEST_MODEL_ZOO}")
else()
- set(EXCLUDED_SOURCE_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/extension ${CMAKE_CURRENT_SOURCE_DIR}/shared_tests_instances/onnx)
+ set(EXCLUDED_SOURCE_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/custom/extension ${CMAKE_CURRENT_SOURCE_DIR}/shared_tests_instances/onnx)
endif()
if(NOT (ARM OR AARCH64))
--
2.34.1