]> https://gitweb.dealii.org/ - dealii.git/commitdiff
set template depth on MAC OS 1133/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 14 Jul 2015 13:12:10 +0000 (09:12 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 14 Jul 2015 13:12:10 +0000 (09:12 -0400)
cmake/checks/check_02_system_features.cmake

index 9485bae7f4a90c99ef854f54699194dfc495b406..cd58f4141609ebeccfbfc73c611008b3d5832208 100644 (file)
@@ -89,6 +89,12 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Darwin")
   # TODO: MM: Check whether this is still necessary...
   #
   STRIP_FLAG(DEAL_II_LINKER_FLAGS "-rdynamic")
+
+  #
+  # At least on Clang 5.0.0 the template depth is set to 128, which is too low
+  # to compile parts of the library. Fix this by setting a large value.
+  #
+  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-ftemplate-depth=1024")  
 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.