]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update config.h.in
authorMatthias Maier <tamiko@43-1.org>
Tue, 26 May 2020 17:08:00 +0000 (12:08 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 27 May 2020 03:34:01 +0000 (22:34 -0500)
cmake/configure/configure_1_tbb.cmake
include/deal.II/base/config.h.in

index 318e2f1145407bb04f5231e732bff3047c483738..9ef8b84e5c40d7d11bb051c9541b19fa4c5093da 100644 (file)
@@ -79,5 +79,3 @@ ENDMACRO()
 
 
 CONFIGURE_FEATURE(TBB)
-SET(DEAL_II_WITH_THREADS ${DEAL_II_WITH_TBB})
-
index 92b30760aab3e8d90f3288cd956975233cf54959..e31b71df5f0e0bd8248ae958dd31a6380888c591 100644 (file)
@@ -39,6 +39,7 @@
 #cmakedefine DEAL_II_WITH_ARPACK
 #cmakedefine DEAL_II_WITH_ASSIMP
 #cmakedefine DEAL_II_WITH_COMPLEX_VALUES
+#cmakedefine DEAL_II_WITH_CPP_TASKFLOW
 #cmakedefine DEAL_II_WITH_CUDA
 #cmakedefine DEAL_II_WITH_GINKGO
 #cmakedefine DEAL_II_WITH_GSL
 #cmakedefine DEAL_II_WITH_SLEPC
 #cmakedefine DEAL_II_WITH_SUNDIALS
 #cmakedefine DEAL_II_WITH_SYMENGINE
-#cmakedefine DEAL_II_WITH_THREADS
+#cmakedefine DEAL_II_WITH_TBB
 #cmakedefine DEAL_II_WITH_TRILINOS
 #cmakedefine DEAL_II_WITH_UMFPACK
 #cmakedefine DEAL_II_WITH_ZLIB
 
+/*
+ * Backward compatibility setting:
+ * FIXME: Update once transition to cpp-taskflow is complete
+ */
+#ifdef DEAL_II_WITH_TBB
+#define DEAL_II_WITH_THREADS
+#endif
+
 /***********************************************************************
  * Compiler bugs:
  *

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.