summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-CPU-Solving-the-build-failure-caused-by-setting-the-.patch
blob: d1851406a7469780fe42a4d778a4b7cd7b3b7e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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