diff options
author | Daniel Bermond | 2020-12-23 22:28:07 +0000 |
---|---|---|
committer | Daniel Bermond | 2020-12-23 22:28:07 +0000 |
commit | 38ed82fe41402b8be442e423068bf3aefcc7744d (patch) | |
tree | 44c993084d0480467902143841e2f52f7b0740f1 /030-openvino-do-not-install-tbb.patch | |
download | aur-38ed82fe41402b8be442e423068bf3aefcc7744d.tar.gz |
Initial commit
Diffstat (limited to '030-openvino-do-not-install-tbb.patch')
-rw-r--r-- | 030-openvino-do-not-install-tbb.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/030-openvino-do-not-install-tbb.patch b/030-openvino-do-not-install-tbb.patch new file mode 100644 index 000000000000..bdd2a20491bb --- /dev/null +++ b/030-openvino-do-not-install-tbb.patch @@ -0,0 +1,33 @@ +--- a/inference-engine/src/inference_engine/CMakeLists.txt ++++ b/inference-engine/src/inference_engine/CMakeLists.txt +@@ -213,30 +213,6 @@ ie_developer_export_targets(${TARGET_NAME} ${TARGET_NAME}_plugin_api xbyak) + + list(APPEND core_components ngraph) + +-if((THREADING STREQUAL "TBB" OR THREADING STREQUAL "TBB_AUTO") AND TBBROOT MATCHES ${TEMP}) +- ie_cpack_add_component(tbb REQUIRED) +- list(APPEND core_components tbb) +- +- install(DIRECTORY "${TBB}/include" +- DESTINATION ${IE_CPACK_IE_DIR}/external/tbb +- COMPONENT tbb) +- install(DIRECTORY "${TBB}/lib" +- DESTINATION ${IE_CPACK_IE_DIR}/external/tbb +- COMPONENT tbb) +- if(EXISTS "${TBB}/bin") +- install(DIRECTORY "${TBB}/bin" +- DESTINATION ${IE_CPACK_IE_DIR}/external/tbb +- COMPONENT tbb) +- endif() +- install(FILES "${TBB}/LICENSE" +- DESTINATION ${IE_CPACK_IE_DIR}/external/tbb +- COMPONENT tbb) +- install(FILES "${TBB}/cmake/TBBConfig.cmake" +- "${TBB}/cmake/TBBConfigVersion.cmake" +- DESTINATION ${IE_CPACK_IE_DIR}/external/tbb/cmake +- COMPONENT tbb) +-endif() +- + ie_cpack_add_component(core REQUIRED DEPENDS ${core_components}) + + install(DIRECTORY "${IE_MAIN_SOURCE_DIR}/include" DESTINATION ${IE_CPACK_IE_DIR} |