]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Do not define TBB_DO_ASSERT=1.
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Dec 2013 13:18:09 +0000 (13:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Dec 2013 13:18:09 +0000 (13:18 +0000)
This is an internal definition; the original build system does not define
it for building the default library, so we shouldn't do either.

git-svn-id: https://svn.dealii.org/trunk@32006 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt
deal.II/cmake/configure/configure_1_threads.cmake

index 628303a82b09b3c77aa371d9167ad97e3328f946..9604dad1b6b8122ab61f046b28306fd7c5c23acd 100644 (file)
@@ -77,5 +77,3 @@ DEAL_II_ADD_DEFINITIONS(obj_tbb "USE_PTHREAD")
 IF(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
   DEAL_II_ADD_DEFINITIONS(obj_tbb "DO_ITT_NOTIFY")
 ENDIF()
-
-# TBB_USE_DEBUG
index da49c2eb247c8e3f9ca1ce190605d9bd0ae41b83..de3c791a6579786e23d2d12d9ae5e3a556e9703f 100644 (file)
@@ -156,9 +156,7 @@ MACRO(FEATURE_THREADS_CONFIGURE_EXTERNAL)
 
   IF(CMAKE_BUILD_TYPE MATCHES "Debug")
     IF(TBB_WITH_DEBUG_LIB)
-      LIST(APPEND DEAL_II_DEFINITIONS_DEBUG
-        "TBB_USE_DEBUG=1" "TBB_DO_ASSERT=1"
-        )
+      LIST(APPEND DEAL_II_DEFINITIONS_DEBUG "TBB_USE_DEBUG")
     ENDIF()
   ENDIF()
 
@@ -193,9 +191,7 @@ MACRO(FEATURE_THREADS_CONFIGURE_BUNDLED)
   # Add some definitions to use the header files in debug mode:
   #
   IF (CMAKE_BUILD_TYPE MATCHES "Debug")
-    LIST(APPEND DEAL_II_DEFINITIONS_DEBUG
-      "TBB_DO_DEBUG=1" "TBB_DO_ASSERT=1"
-      )
+    LIST(APPEND DEAL_II_DEFINITIONS_DEBUG "TBB_USE_DEBUG")
   ENDIF()
 
   #

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.