Backport TBB fix to allow building on GCC13

This commit is contained in:
Maciej Lisiewski 2023-05-31 17:20:34 -04:00 committed by Lane.Wei
parent fbc04a98fc
commit 58e9996105
2 changed files with 13 additions and 1 deletions

11
deps/TBB/0001-TBB-GCC13.patch vendored Normal file
View 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 */