Skip to content

Commit

Permalink
Ensure that oneTBB is found (openvinotoolkit#229)
Browse files Browse the repository at this point in the history
* Ensure that oneTBB is found

* Don't use system TBB

* Try fix

* Apply suggestions from code review
  • Loading branch information
ilya-lavrenov authored Aug 21, 2024
1 parent b2934e7 commit aa3c032
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ jobs:
-DENABLE_NCC_STYLE=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_STRICT_DEPENDENCIES=OFF \
-DENABLE_SYSTEM_TBB=ON \
-DENABLE_SYSTEM_OPENCL=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCPACK_GENERATOR=TGZ \
-DENABLE_JS=OFF \
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function(ov_tokenizers_link_pcre2)
target_compile_definitions(${TARGET_NAME} PRIVATE PCRE2_CODE_UNIT_WIDTH=8)
endfunction()

find_package(TBB REQUIRED
find_package(TBB 2021.2 REQUIRED
PATHS "${OpenVINO_DIR_PY}")

#
Expand Down

0 comments on commit aa3c032

Please sign in to comment.