1
1

Fixes trac:1401 (-xvector* needs to be counted as an optimzation flag for orterun to compile)

This commit was SVN r18947.

The following Trac tickets were found above:
  Ticket 1401 --> https://svn.open-mpi.org/trac/ompi/ticket/1401
Этот коммит содержится в:
Ethan Mallove 2008-07-18 19:19:22 +00:00
родитель 6135943382
Коммит 294f07a13d
3 изменённых файлов: 22 добавлений и 2 удалений

Просмотреть файл

@ -10,6 +10,7 @@ dnl Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
dnl University of Stuttgart. All rights reserved. dnl University of Stuttgart. All rights reserved.
dnl Copyright (c) 2004-2005 The Regents of the University of California. dnl Copyright (c) 2004-2005 The Regents of the University of California.
dnl All rights reserved. dnl All rights reserved.
dnl Copyright (c) 2007-2008 Sun Microsystems, Inc. All rights reserved.
dnl $COPYRIGHT$ dnl $COPYRIGHT$
dnl dnl
dnl Additional copyrights may follow dnl Additional copyrights may follow
@ -41,6 +42,12 @@ for co_word in $co_arg; do
-xO) co_found=1 ;; -xO) co_found=1 ;;
-xO[0-9]) co_found=1 ;; -xO[0-9]) co_found=1 ;;
-fast) co_found=1 ;; -fast) co_found=1 ;;
# The below Sun Studio flags require or
# trigger -xO optimization
-xvector*) co_found=1 ;;
-xdepend=yes) co_found=1 ;;
esac esac
done done

Просмотреть файл

@ -11,6 +11,7 @@ dnl University of Stuttgart. All rights reserved.
dnl Copyright (c) 2004-2005 The Regents of the University of California. dnl Copyright (c) 2004-2005 The Regents of the University of California.
dnl All rights reserved. dnl All rights reserved.
dnl Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. dnl Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
dnl Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
dnl $COPYRIGHT$ dnl $COPYRIGHT$
dnl dnl
dnl Additional copyrights may follow dnl Additional copyrights may follow
@ -57,6 +58,12 @@ for s_word in $s_arg; do
-xO8) ;; -xO8) ;;
-xO9) ;; -xO9) ;;
-fast) ;; -fast) ;;
# The below Sun Studio flags require or
# trigger -xO optimization
-xvector*) ;;
-xdepend=yes) ;;
*) s_result="$s_result $s_word" *) s_result="$s_result $s_word"
esac esac
done done

Просмотреть файл

@ -10,7 +10,7 @@ dnl Copyright (c) 2004-2008 High Performance Computing Center Stuttgart,
dnl University of Stuttgart. All rights reserved. dnl University of Stuttgart. All rights reserved.
dnl Copyright (c) 2004-2006 The Regents of the University of California. dnl Copyright (c) 2004-2006 The Regents of the University of California.
dnl All rights reserved. dnl All rights reserved.
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. dnl Copyright (c) 2007-2008 Sun Microsystems, Inc. All rights reserved.
dnl $COPYRIGHT$ dnl $COPYRIGHT$
dnl dnl
dnl Additional copyrights may follow dnl Additional copyrights may follow
@ -281,7 +281,13 @@ AC_DEFUN([OMPI_SETUP_CC],[
-O[0-9]) co_found=1 ;; -O[0-9]) co_found=1 ;;
-xO) co_found=1 ;; -xO) co_found=1 ;;
-xO[0-9]) co_found=1 ;; -xO[0-9]) co_found=1 ;;
-fast) co_found=1 ;; -fast) co_found=1 ;;
# The below Sun Studio flags require or
# trigger -xO optimization
-xvector*) co_found=1 ;;
-xdepend=yes) co_found=1 ;;
esac esac
if test "$co_found" = "0" ; then if test "$co_found" = "0" ; then
CFLAGS_WITHOUT_OPTFLAGS="$CFLAGS_WITHOUT_OPTFLAGS $co_word" CFLAGS_WITHOUT_OPTFLAGS="$CFLAGS_WITHOUT_OPTFLAGS $co_word"