]> https://gitweb.dealii.org/ - dealii.git/commitdiff
For icc on x86_64, also link with -lpthread.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 2 Dec 2005 19:36:23 +0000 (19:36 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 2 Dec 2005 19:36:23 +0000 (19:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@11805 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 637d1b0a01553a23feaa0a249e319e8ba650df40..00106718c217c47494f60112bf88816c24664b29 100644 (file)
@@ -613,6 +613,10 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
          dnl If we are on an x86 platform, add -tpp6 to optimization
          dnl flags
          case "$target" in
+            *x86_64*)
+               LDFLAGS="$LDFLAGS -lpthread"
+               ;;
+
            *86*)
                CXXFLAGSO="$CXXFLAGSO -tpp6"
                ;;
index aa6188562fa2d1e1bc9ef8d60e036a4b87e0071c..b891053601e4145dc6367ae7bc5c976da0e2762b 100755 (executable)
@@ -3475,6 +3475,10 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
           fi fi
 
                          case "$target" in
+            *x86_64*)
+               LDFLAGS="$LDFLAGS -lpthread"
+               ;;
+
            *86*)
                CXXFLAGSO="$CXXFLAGSO -tpp6"
                ;;
@@ -3873,6 +3877,7 @@ echo "${ECHO_T}C compiler is unknown version but accepted MIPSpro compiler versi
          version6="`echo $is_intel_icc | grep 'Version 6'`"
          version7="`echo $is_intel_icc | grep 'Version 7'`"
          version8="`echo $is_intel_icc | grep 'Version 8'`"
+         version9="`echo $is_intel_icc | grep 'Version 9'`"
           if test "x$version5" != "x" ; then
             echo "$as_me:$LINENO: result: C compiler is icc-5" >&5
 echo "${ECHO_T}C compiler is icc-5" >&6
@@ -3889,6 +3894,10 @@ echo "${ECHO_T}C compiler is icc-7" >&6
             echo "$as_me:$LINENO: result: C compiler is icc-8" >&5
 echo "${ECHO_T}C compiler is icc-8" >&6
             CC_VERSION=intel_icc8
+          else if test "x$version9" != "x" ; then
+            echo "$as_me:$LINENO: result: C compiler is icc-9" >&5
+echo "${ECHO_T}C compiler is icc-9" >&6
+            CC_VERSION=intel_icc9
           else
             echo "$as_me:$LINENO: result: C compiler is icc" >&5
 echo "${ECHO_T}C compiler is icc" >&6

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.