summarylogtreecommitdiffstats
path: root/cmake-pstl-serial.patch
blob: 07c73144377e0d1b50c3297a1929fdb2b5fe2cea (plain)
1
2
3
4
5
6
7
8
9
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,0 +29,6 @@
+# Force libstdc++ Parallel STL to use the serial backend (disable oneTBB)
+add_compile_definitions(
+  _GLIBCXX_USE_TBB_PAR_BACKEND=0
+  _PSTL_PAR_BACKEND_SERIAL
+)
+