From: Matthias Maier Date: Wed, 8 Dec 2021 20:19:10 +0000 (-0600) Subject: CMake: do not use TBB with oneAPI interface for now X-Git-Tag: v9.3.3~5^2~17 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed93bd91e8053e850fdef541cf3c97e35dd4c575;p=dealii.git CMake: do not use TBB with oneAPI interface for now --- diff --git a/cmake/configure/configure_1_tbb.cmake b/cmake/configure/configure_1_tbb.cmake index 73ff6645b5..4517a54092 100644 --- a/cmake/configure/configure_1_tbb.cmake +++ b/cmake/configure/configure_1_tbb.cmake @@ -27,6 +27,17 @@ MACRO(FEATURE_TBB_FIND_EXTERNAL var) SET(DEAL_II_TBB_WITH_ONEAPI ${TBB_WITH_ONEAPI}) + IF(TBB_WITH_ONEAPI) + MESSAGE(STATUS + "deal.II is not fully ported to the new TBB oneAPI interface, disabling external TBB" + ) + SET(TBB_ADDITIONAL_ERROR_STRING + "deal.II is not fully ported to the new TBB oneAPI interface.\n" + "Disabling external TBB for now...\n\n" + ) + SET(${var} FALSE) + ENDIF() + # # TBB currently uses the version numbering scheme #