mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #25098 from klatism:tbb-lib-upgrade
upgrade tbb to version 2021.11.0
This commit is contained in:
commit
4a9b0f2bf4
7
3rdparty/tbb/CMakeLists.txt
vendored
7
3rdparty/tbb/CMakeLists.txt
vendored
@ -5,8 +5,8 @@ if (WIN32 AND NOT ARM)
|
|||||||
message(FATAL_ERROR "BUILD_TBB option supports Windows on ARM only!\nUse regular official TBB build instead of the BUILD_TBB option!")
|
message(FATAL_ERROR "BUILD_TBB option supports Windows on ARM only!\nUse regular official TBB build instead of the BUILD_TBB option!")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ocv_update(OPENCV_TBB_RELEASE "v2020.2")
|
ocv_update(OPENCV_TBB_RELEASE "v2021.11.0")
|
||||||
ocv_update(OPENCV_TBB_RELEASE_MD5 "5af6f6c2a24c2043e62e47205e273b1f")
|
ocv_update(OPENCV_TBB_RELEASE_MD5 "b301151120b08a17e98dcdda6e4f6011")
|
||||||
ocv_update(OPENCV_TBB_FILENAME "${OPENCV_TBB_RELEASE}.tar.gz")
|
ocv_update(OPENCV_TBB_FILENAME "${OPENCV_TBB_RELEASE}.tar.gz")
|
||||||
string(REGEX REPLACE "^v" "" OPENCV_TBB_RELEASE_ "${OPENCV_TBB_RELEASE}")
|
string(REGEX REPLACE "^v" "" OPENCV_TBB_RELEASE_ "${OPENCV_TBB_RELEASE}")
|
||||||
#ocv_update(OPENCV_TBB_SUBDIR ...)
|
#ocv_update(OPENCV_TBB_SUBDIR ...)
|
||||||
@ -17,7 +17,7 @@ ocv_download(FILENAME ${OPENCV_TBB_FILENAME}
|
|||||||
URL
|
URL
|
||||||
"${OPENCV_TBB_URL}"
|
"${OPENCV_TBB_URL}"
|
||||||
"$ENV{OPENCV_TBB_URL}"
|
"$ENV{OPENCV_TBB_URL}"
|
||||||
"https://github.com/01org/tbb/archive/"
|
"https://github.com/oneapi-src/oneTBB/archive/refs/tags/"
|
||||||
DESTINATION_DIR ${tbb_src_dir}
|
DESTINATION_DIR ${tbb_src_dir}
|
||||||
ID TBB
|
ID TBB
|
||||||
STATUS res
|
STATUS res
|
||||||
@ -44,7 +44,6 @@ ocv_include_directories("${tbb_src_dir}/include"
|
|||||||
|
|
||||||
file(GLOB lib_srcs "${tbb_src_dir}/src/tbb/*.cpp")
|
file(GLOB lib_srcs "${tbb_src_dir}/src/tbb/*.cpp")
|
||||||
file(GLOB lib_hdrs "${tbb_src_dir}/src/tbb/*.h")
|
file(GLOB lib_hdrs "${tbb_src_dir}/src/tbb/*.h")
|
||||||
list(APPEND lib_srcs "${tbb_src_dir}/src/rml/client/rml_tbb.cpp")
|
|
||||||
ocv_list_filterout(lib_srcs "${tbb_src_dir}/src/tbb/tbbbind.cpp") # hwloc.h requirement
|
ocv_list_filterout(lib_srcs "${tbb_src_dir}/src/tbb/tbbbind.cpp") # hwloc.h requirement
|
||||||
ocv_list_filterout(lib_srcs "${tbb_src_dir}/src/tbb/tbb_bind.cpp") # hwloc.h requirement 2020.1+
|
ocv_list_filterout(lib_srcs "${tbb_src_dir}/src/tbb/tbb_bind.cpp") # hwloc.h requirement 2020.1+
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user