diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/cython-cmake.patch')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/files/cython-cmake.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/cython-cmake.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/cython-cmake.patch deleted file mode 100644 index 45ed0d27..00000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/cython-cmake.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Change the working directory to source to workaround cython | ||
2 | embedding absolute path to the pyx file in output. | ||
3 | |||
4 | Upstream-Status: Inappropriate [OE build specific] | ||
5 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
6 | |||
7 | diff --git a/src/bindings/python/src/compatibility/openvino/cmake/UseCython.cmake b/src/bindings/python/src/compatibility/openvino/cmake/UseCython.cmake | ||
8 | index f14662ad50..8d199fe328 100644 | ||
9 | --- a/src/bindings/python/src/compatibility/openvino/cmake/UseCython.cmake | ||
10 | +++ b/src/bindings/python/src/compatibility/openvino/cmake/UseCython.cmake | ||
11 | @@ -259,7 +259,7 @@ function( compile_pyx _name generated_file ) | ||
12 | add_custom_command( OUTPUT ${_generated_file} | ||
13 | COMMAND ${CYTHON_EXECUTABLE} | ||
14 | ARGS ${cxx_arg} ${include_directory_arg} ${version_arg} | ||
15 | - ${annotate_arg} ${no_docstrings_arg} ${cython_debug_arg} ${CYTHON_FLAGS} | ||
16 | + ${annotate_arg} ${no_docstrings_arg} ${cython_debug_arg} ${CYTHON_FLAGS} -w ${CMAKE_CURRENT_SOURCE_DIR} | ||
17 | --output-file ${_generated_file} ${pyx_locations} | ||
18 | DEPENDS ${pyx_locations} ${pxd_dependencies} ${pxi_dependencies} | ||
19 | IMPLICIT_DEPENDS ${pyx_lang} ${c_header_dependencies} | ||