mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 00:48:41 +03:00
update
This commit is contained in:
11
deps/TBB/0001-TBB-GCC13.patch
vendored
Normal file
11
deps/TBB/0001-TBB-GCC13.patch
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/include/tbb/task.h
|
||||
+++ b/include/tbb/task.h
|
||||
@@ -219,7 +219,7 @@
|
||||
#if __TBB_TASK_PRIORITY
|
||||
//! Pointer to the next offloaded lower priority task.
|
||||
/** Used to maintain a list of offloaded tasks inside the scheduler. **/
|
||||
- task* next_offloaded;
|
||||
+ tbb::task* next_offloaded;
|
||||
};
|
||||
#endif /* __TBB_TASK_PRIORITY */
|
||||
|
||||
18
deps/TBB/TBB.cmake
vendored
Normal file
18
deps/TBB/TBB.cmake
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
qidistudio_add_cmake_project(
|
||||
TBB
|
||||
URL "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.5.0.zip"
|
||||
URL_HASH SHA256=83ea786c964a384dd72534f9854b419716f412f9d43c0be88d41874763e7bb47
|
||||
#PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/0001-TBB-GCC13.patch
|
||||
CMAKE_ARGS
|
||||
-DTBB_BUILD_SHARED=OFF
|
||||
-DTBB_BUILD_TESTS=OFF
|
||||
-DTBB_TEST=OFF
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
-DCMAKE_DEBUG_POSTFIX=_debug
|
||||
)
|
||||
|
||||
if (MSVC)
|
||||
add_debug_dep(dep_TBB)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user