Skip to content

Commit

Permalink
Fixed pattern for patching TBB config files
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Aug 21, 2024
1 parent 3afad8d commit b6c5557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/python/wheel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def copy_package_data(self, src_dirs):

tbb_replacements = {
# change the path where the TBBConfig.cmake is installed (<root>/lib/cmake/TBB -> openvino/cmake)
r"(\{CMAKE_CURRENT_LIST_FILE\})": r"\1/fake_dir",
r"(_IMPORT_PREFIX \"\$\{CMAKE_CURRENT_LIST_FILE\})": r"\1/fake_dir",
# change the path where the libraries are installed (<root>/lib -> openvino/libs)
r"(\{_IMPORT_PREFIX\})\/(.*)\/(.+\.[lib|dylib|so|dll])": rf"\1/{WHEEL_LIBS_INSTALL_DIR}/\3",
# change the path where the include files are installed (<root>/include -> openvino/include)
Expand Down

0 comments on commit b6c5557

Please sign in to comment.