]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: do not use TBB with oneAPI interface for now
authorMatthias Maier <tamiko@43-1.org>
Wed, 8 Dec 2021 20:19:10 +0000 (14:19 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 12 Jan 2022 10:17:08 +0000 (04:17 -0600)
cmake/configure/configure_1_tbb.cmake

index 73ff6645b5b6272acaafcbe2fe2f9dbeaa4d0ce1..4517a5409201d600482c8660f682e8a92580ede1 100644 (file)
@@ -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
   #

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.