Disable system TBB on Linux arm64 (#21769)
* Disable system TBB on Linux arm64 * Update cmake/features.cmake
This commit is contained in:
parent
51eab3c931
commit
3a6a62558a
1
.github/workflows/linux_arm64.yml
vendored
1
.github/workflows/linux_arm64.yml
vendored
|
@ -149,7 +149,6 @@ jobs:
|
|||
-DENABLE_NCC_STYLE=OFF \
|
||||
-DENABLE_TESTS=ON \
|
||||
-DENABLE_STRICT_DEPENDENCIES=OFF \
|
||||
-DENABLE_SYSTEM_TBB=OFF \
|
||||
-DENABLE_SYSTEM_OPENCL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||
-DCPACK_GENERATOR=TGZ \
|
||||
|
|
|
@ -166,7 +166,12 @@ endif()
|
|||
if(DEFINED ENV{TBBROOT} OR DEFINED ENV{TBB_DIR} OR DEFINED TBB_DIR OR DEFINED TBBROOT)
|
||||
set(ENABLE_SYSTEM_TBB_DEFAULT OFF)
|
||||
else()
|
||||
set(ENABLE_SYSTEM_TBB_DEFAULT ${ENABLE_SYSTEM_LIBS_DEFAULT})
|
||||
if(LINUX AND AARCH64)
|
||||
# CVS-126984: system TBB is not very stable on Linux ARM64 (at least on Ubuntu 20.04)
|
||||
set(ENABLE_SYSTEM_TBB_DEFAULT OFF)
|
||||
else()
|
||||
set(ENABLE_SYSTEM_TBB_DEFAULT ${ENABLE_SYSTEM_LIBS_DEFAULT})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
ov_dependent_option (ENABLE_SYSTEM_TBB "Enables use of system TBB" ${ENABLE_SYSTEM_TBB_DEFAULT}
|
||||
|
|
Loading…
Reference in New Issue
Block a user