]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable the flag -Wa,--compress-debug-sections for Intel compilers. It turned out...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Apr 2013 03:38:44 +0000 (03:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Apr 2013 03:38:44 +0000 (03:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29403 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/checks/check_01_compiler_features.cmake

index 8b4ec89a2e307c767ce3ddb208d895c44fc225ab..f64b2cfa94ab87b6b7bd6a5539936d03f6287a3e 100644 (file)
@@ -269,10 +269,18 @@ ENDIF()
 # per email by John Fowkes on the mailing list in Feb 2012,
 # so don't run the test on cygwin.
 #
-# - Matthias Maier, rewritten 2012
+# Finally, Intel's icpc compiler complains about the flag
+# but apparently only if the file to be compiled contains
+# particular content. See bug #46 in the Google Code bug
+# data base (http://code.google.com/p/dealii/issues/detail?id=46).
+# It proved impossible to track down under which circumstances
+# this happens, and so it was disabled for icpc.
+#
+# - Matthias Maier, rewritten 2012, 2013
 #
 IF( (NOT CMAKE_SYSTEM_NAME MATCHES "CYGWIN") AND
-    (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") )
+    (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") AND
+    (NOT CMAKE_CXX_COMPILER_ID MATCHES "Intel") )
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "-Wa,--compress-debug-sections")
 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.