]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Only use -opt_report_levelmin where possible.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Dec 2002 00:55:59 +0000 (00:55 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Dec 2002 00:55:59 +0000 (00:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@6807 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 97af2fc869c2a67734c068622c571e891f63c7a7..a39a534ead559a7aaa0d01859ec4ede09fa17cf8 100644 (file)
@@ -318,10 +318,15 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
           dnl       (allowed for compatibility)' (I don't understand what the
           dnl       compiler means)
           CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -DDEBUG -inline_debug_info"
-          CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -ip -unroll -w0 -wd424 -opt_report_levelmin"
+          CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -ip -unroll -w0 -wd424"
           CXXFLAGSPIC="-KPIC"
           LDFLAGSPIC="-KPIC -shared"
 
+          dnl To reduce output, use -opt_report_levelmin where possible,
+          dnl i.e. post icc5
+          if test "x$GXX_VERSION" != "xintel_icc5" ; then
+            CXXFLAGSO="$CXXFLAGSO -opt_report_levelmin"
+          fi
 
           dnl We would really like to use  -ansi -Xc, since that
          dnl is _very_ picky about standard C++, and is thus very efficient
index 79722e08ff4ea23fadea94506dcc85f8f2df4843..5709fb715a29b01d40ca123ff0a176b24661cf4f 100755 (executable)
@@ -2894,10 +2894,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext
 
       intel_icc*)
                                                                                                                         CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -DDEBUG -inline_debug_info"
-          CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -ip -unroll -w0 -wd424 -opt_report_levelmin"
+          CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -ip -unroll -w0 -wd424"
           CXXFLAGSPIC="-KPIC"
           LDFLAGSPIC="-KPIC -shared"
 
+                              if test "x$GXX_VERSION" != "xintel_icc5" ; then
+            CXXFLAGSO="$CXXFLAGSO -opt_report_levelmin"
+          fi
 
                                                                                                  if test "x$GXX_VERSION" != "xintel_icc5" -a \
                   "x$GXX_VERSION" != "xintel_icc6" ; then

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.