This reverts commit cfb21de775
.
This commit is contained in:
parent
cfb21de775
commit
0b97ab48a3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user