Skip to content

Commit 50ffcbc

Browse files
Fixed pattern for patching TBB config files (openvinotoolkit#26167)
### Details: - To fix issues with tokenizers build - See openvinotoolkit/openvino_tokenizers#229
1 parent 9ef7e23 commit 50ffcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bindings/python/wheel/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def copy_package_data(self, src_dirs):
487487

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

0 commit comments

Comments
 (0)