]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Suppress vectorization notices on machines that don't support vectorization with...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Sep 2007 16:16:25 +0000 (16:16 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Sep 2007 16:16:25 +0000 (16:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@15125 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 352630c4901fc7d0569af7844d51b45b1ae001d3..55346957e7d64f696dffb5cd65b6b18e5959bc0d 100644 (file)
@@ -640,6 +640,9 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
           dnl autovectorizer (to make things simpler, one of the two options
           dnl wants a space between option and level, whereas the other does
           dnl not)
+         dnl
+         dnl Since only the x86 and x86_64 compilers can vectorize, this
+         dnl flag needs to be suppressed on ia64 (itanium)
          case "$GXX_VERSION" in
            intel_icc5)
               ;;
@@ -647,7 +650,14 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
               CXXFLAGSO="$CXXFLAGSO -opt_report_levelmin"
               ;;
            *)
-              CXXFLAGSO="$CXXFLAGSO -opt-report 0 -vec-report0"
+             case "$target" in
+               *ia64*)
+                   CXXFLAGSO="$CXXFLAGSO -opt-report 0"
+                   ;;
+               *)
+                   CXXFLAGSO="$CXXFLAGSO -opt-report 0 -vec-report0"
+                   ;;
+             esac
              ;;
           esac
 
index 0b1b82887ef5c9ed5bc5c4fc3d32b3339398fabb..f7f08d8df6c268ab8e8d043f87e767f27babd132 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 15114 .
+# From configure.in Revision: 15116 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for deal.II 6.0.pre.
 #
@@ -3542,14 +3542,21 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                                                                                                                                                                            CXXFLAGSG="$CXXFLAGSG -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858"
           CXXFLAGSO="$CXXFLAGSO -w0 -wd424 -wd11"
 
-                                                                 case "$GXX_VERSION" in
+                                                                                         case "$GXX_VERSION" in
            intel_icc5)
               ;;
            intel_icc6 | intel_icc7 | intel_icc8 | intel_icc9)
               CXXFLAGSO="$CXXFLAGSO -opt_report_levelmin"
               ;;
            *)
-              CXXFLAGSO="$CXXFLAGSO -opt-report 0 -vec-report0"
+             case "$target" in
+               *ia64*)
+                   CXXFLAGSO="$CXXFLAGSO -opt-report 0"
+                   ;;
+               *)
+                   CXXFLAGSO="$CXXFLAGSO -opt-report 0 -vec-report0"
+                   ;;
+             esac
              ;;
           esac
 

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.