diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-18 14:27:20 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-18 14:27:20 +0000 |
commit | f62e924474e658094b61c355d838737629e091da (patch) | |
tree | 78328f9695158d0e92b8b866f62236eb8d9926be /lib/make/known-architectures/linux | |
parent | f1a76a3be98a24fa89dc3965167741382fce336e (diff) |
Turn on aggressive optimization for the PathScale compilers.
Make the fortran compilers generate symbols with a single trailing underscore.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3914 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r-- | lib/make/known-architectures/linux | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 4819701b..cf1a5b49 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -293,8 +293,13 @@ else : ${LIBS='for m'} ;; PathScale) -# : ${F77_OPTIMISE_FLAGS='-Ofast'} -# : ${F90_OPTIMISE_FLAGS='-Ofast'} + : ${F77FLAGS='-fno-second-underscore'} + : ${F90FLAGS='-fno-second-underscore'} + : ${F77_OPTIMISE_FLAGS='-Ofast'} + : ${F90_OPTIMISE_FLAGS='-Ofast'} + if test "$OPTIMISE" != 'no'; then + : ${LDFLAGS='-Ofast'} + fi : ${F77_WARN_FLAGS='-fullwarn'} : ${F90_WARN_FLAGS='-fullwarn'} : ${LIBS='pathfortran mv'} @@ -342,7 +347,7 @@ else : ${C_OPTIMISE_FLAGS='-fast -O3 -Minfo -Mneginfo -Mvect=assoc'} ;; pathcc) -# : ${C_OPTIMISE_FLAGS='-O3'} + : ${C_OPTIMISE_FLAGS='-Ofast'} ;; esac @@ -376,7 +381,7 @@ else fi ;; pathCC) -# : ${CXX_OPTIMISE_FLAGS='-O3'} + : ${CXX_OPTIMISE_FLAGS='-Ofast'} ;; esac |