diff --git a/install_build_dependencies.sh b/install_build_dependencies.sh index 5ee32c75844..8d81c82dd53 100755 --- a/install_build_dependencies.sh +++ b/install_build_dependencies.sh @@ -120,8 +120,8 @@ elif [ -f /etc/redhat-release ]; then git \ git-lfs \ boost-devel \ - python3-pip \ - python3-devel \ + python-pip \ + python-devel \ libtool \ tbb-devel \ pugixml-devel \ @@ -134,6 +134,7 @@ elif [ -f /etc/redhat-release ]; then file \ zlib-devel \ gflags-devel \ + python3-pip \ libva-devel elif [ -f /etc/os-release ] && grep -q "raspbian" /etc/os-release; then # Raspbian diff --git a/src/cmake/ie_parallel.cmake b/src/cmake/ie_parallel.cmake index e984b3bbf73..e480365fdac 100644 --- a/src/cmake/ie_parallel.cmake +++ b/src/cmake/ie_parallel.cmake @@ -45,6 +45,7 @@ macro(ov_find_package_tbb) # don't set NO_CMAKE_PATH to allow -DTBB_DIR=XXX # don't set NO_CMAKE_ENVIRONMENT_PATH to allow env TBB_DIR=XXX set(_find_package_no_args NO_PACKAGE_ROOT_PATH + NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_PACKAGE_REGISTRY NO_CMAKE_SYSTEM_PATH @@ -111,7 +112,7 @@ macro(ov_find_package_tbb) if(NOT TBB_FOUND) # system TBB failed to be found - set(ENABLE_SYSTEM_TBB OFF CACHE BOOL "" FORCE) + set(ENABLE_SYSTEM_TBB OFF) # TBB on system is not found, download prebuilt one # if TBBROOT env variable is not defined diff --git a/src/cmake/install_tbb.cmake b/src/cmake/install_tbb.cmake index 3bd7f4c3ea6..d34add87d88 100644 --- a/src/cmake/install_tbb.cmake +++ b/src/cmake/install_tbb.cmake @@ -99,6 +99,7 @@ if(THREADING MATCHES "^(TBB|TBB_AUTO)$" AND if(ENABLE_SYSTEM_TBB) # TODO: what's about tbbbind for cases U22 with >= TBB 20221 # it seems that oneTBB from U22 distro does not contains tbbbind library + # the same situation for conda-forge distribution of TBB / oneTBB # for system libraries we still need to install TBB libraries # so, need to take locations of actual libraries and install them