From 7efad0bc970a9120cbad78694186fc46ae0b7503 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 8 Dec 2021 14:37:04 -0600 Subject: [PATCH] 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 --- cmake/configure/configure_1_taskflow.cmake | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.5