]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: set the taskflow feature default to disabled 13047/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 8 Dec 2021 20:37:04 +0000 (14:37 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 8 Dec 2021 20:37:04 +0000 (14:37 -0600)
Let us (default) disable taskflow for the time being to avoid
unnecessary surprises on user side. For example, with taskflow and tbb
enabled both libraries will create and maintain an independent
threadpool which leads to unpleasant surprises when the number of
threads is limited or when trying to pin threads to specific cpus

cmake/configure/configure_1_taskflow.cmake

index 953afd892b776ecfc06683b030117a8c585ec51c..8d389da435a2bc1b4d8dc50c615e60996054864b 100644 (file)
 # library:
 #
 
+#
+# Disallow the default detection of taskflow for the time being to avoid
+# unpleasant surprises on user side.
+#
+SET(DEAL_II_WITH_TASKFLOW OFF CACHE BOOL "")
 
 MACRO(FEATURE_TASKFLOW_FIND_EXTERNAL var)
   FIND_PACKAGE(TASKFLOW)

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.