From: Matthias Maier Date: Wed, 8 Dec 2021 20:37:04 +0000 (-0600) Subject: CMake: set the taskflow feature default to disabled X-Git-Tag: v9.4.0-rc1~760^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efad0bc970a9120cbad78694186fc46ae0b7503;p=dealii.git CMake: set the taskflow feature default to disabled 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 --- diff --git a/cmake/configure/configure_1_taskflow.cmake b/cmake/configure/configure_1_taskflow.cmake index 953afd892b..8d389da435 100644 --- a/cmake/configure/configure_1_taskflow.cmake +++ b/cmake/configure/configure_1_taskflow.cmake @@ -18,6 +18,11 @@ # 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)