ac_fortran_flags_preset.m4 | ac_fortran_flags_preset.m4 | |||
---|---|---|---|---|
skipping to change at line 80 | skipping to change at line 80 | |||
*ifc*) dnl Intel 7.x Fortran compiler | *ifc*) dnl Intel 7.x Fortran compiler | |||
FFLAGS="" | FFLAGS="" | |||
F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno- alias -safe_cray_ptr" | F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno- alias -safe_cray_ptr" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*ifort*) dnl Intel 8.x Fortran compiler | *ifort*) dnl Intel 8.x Fortran compiler | |||
FFLAGS="" | FFLAGS="" | |||
F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno- alias -safe_cray_ptr" | F77_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno- alias -safe_cray_ptr" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*pgf77*) dnl PGI Fortran compiler | *pgf*) dnl PGI Fortran compiler | |||
FFLAGS="" | FFLAGS="" | |||
F77_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" | F77_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*pathf90*) dnl Pathscale Fortran compiler | *pathf*) dnl Pathscale Fortran compiler | |||
FFLAGS="" | FFLAGS="-fno-second-underscore" | |||
F77_OPTIMIZE_FLAGS="-O3" | F77_OPTIMIZE_FLAGS="-O3" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*f77*) | *f77*) | |||
if test ".$G77" == .yes; then | if test ".$G77" == .yes; then | |||
dnl GNU Fortran compiler | dnl GNU Fortran compiler | |||
FFLAGS="-fno-second-underscore" | FFLAGS="-fno-second-underscore" | |||
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" | F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
else | else | |||
skipping to change at line 164 | skipping to change at line 164 | |||
;; | ;; | |||
*g77*) dnl GNU Fortran compiler | *g77*) dnl GNU Fortran compiler | |||
FFLAGS="-fno-second-underscore" | FFLAGS="-fno-second-underscore" | |||
F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" | F77_OPTIMIZE_FLAGS="-O3 -funroll-loops" | |||
CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
*cray*) | *cray*) | |||
case "$F77" in | case "$F77" in | |||
*fort77*) dnl Cray Fortran compiler | *ftn*) dnl Cray Fortran compiler | |||
FFLAGS="" | ||||
F77_OPTIMIZE_FLAGS="-O 3 -O aggress,unroll2" | ||||
;; | ||||
esac | ||||
;; | ||||
*fujitsu*) | ||||
case "$F77" in | ||||
*frt*) dnl Fujitsu Fortran compiler | ||||
FFLAGS="" | FFLAGS="" | |||
F77_OPTIMIZE_FLAGS="-O aggress -O 3 -O unroll2 -O pi | F77_OPTIMIZE_FLAGS="-O3" | |||
peline3" | CXXFFLAGS="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS | |||
CORES -Wg,-f" | ||||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
*) | *) | |||
ac_fortran_flags_preset=no | ac_fortran_flags_preset=no | |||
;; | ;; | |||
esac | esac | |||
if test -n "$FC"; then | if test -n "$FC"; then | |||
case "$target" in | case "$target" in | |||
skipping to change at line 216 | skipping to change at line 225 | |||
*ifc*) dnl Intel 7.x F90 compiler | *ifc*) dnl Intel 7.x F90 compiler | |||
FCFLAGS="" | FCFLAGS="" | |||
FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-a lias -safe_cray_ptr" | FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-a lias -safe_cray_ptr" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*ifort*) dnl Intel 8.x F90 compiler | *ifort*) dnl Intel 8.x F90 compiler | |||
FCFLAGS="" | FCFLAGS="" | |||
FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-a lias -safe_cray_ptr" | FC_OPTIMIZE_FLAGS="-O3 -Zp16 -ip -pad -unroll -fno-a lias -safe_cray_ptr" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*pgf90*) dnl PGI F90 compiler | *pgf9*) dnl PGI F90 compiler | |||
FCFLAGS="" | FCFLAGS="" | |||
FC_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" | FC_OPTIMIZE_FLAGS="-fastsse -O3 -Minline -Minfo" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*pathf90*) dnl Pathscale pathf90 compiler | *pathf9*) dnl Pathscale pathf90 compiler | |||
FCFLAGS="" | FCFLAGS="-fno-second-underscore" | |||
FC_OPTIMIZE_FLAGS="-O3" | FC_OPTIMIZE_FLAGS="-O3" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
*f90*) dnl Absoft F90 compiler | *f90*) dnl Absoft F90 compiler | |||
FCFLAGS="-B108 -YEXT_NAMES=LCS" | FCFLAGS="-B108 -YEXT_NAMES=LCS" | |||
FC_OPTIMIZE_FLAGS="-O3" | FC_OPTIMIZE_FLAGS="-O3" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
skipping to change at line 273 | skipping to change at line 282 | |||
case "$FC" in | case "$FC" in | |||
*f90*) dnl Compaq F90 compiler | *f90*) dnl Compaq F90 compiler | |||
FCFLAGS="" | FCFLAGS="" | |||
FC_OPTIMIZE_FLAGS="-O4 -tune host" | FC_OPTIMIZE_FLAGS="-O4 -tune host" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS CORES" | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
*cray*) | *cray*) | |||
case "$FC" in | case "$FC" in | |||
*f90*) dnl Cray F90 compiler | *ftn*) dnl Cray Fortran compiler | |||
FCFLAGS="" | FCFLAGS="" | |||
FC_OPTIMIZE_FLAGS="-O 3 -O aggress -O unroll2 -O pip eline3" | FC_OPTIMIZE_FLAGS="-O 3 -O aggress,unroll2" | |||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_CAPS" | CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_CAPS" | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
*fujitsu*) | ||||
case "$FC" in | ||||
*frt*) dnl Fujitsu Fortran compiler | ||||
FCFLAGS="" | ||||
FC_OPTIMIZE_FLAGS="-O3" | ||||
CXXFCFLAG="-DBZ_FORTRAN_SYMBOLS_WITH_TRAILING_UNDERS | ||||
CORES -Wg,-f" | ||||
;; | ||||
esac | ||||
;; | ||||
*) | *) | |||
ac_fortran_flags_preset=no | ac_fortran_flags_preset=no | |||
;; | ;; | |||
esac | esac | |||
fi | fi | |||
else | else | |||
AC_MSG_RESULT([no]) | AC_MSG_RESULT([no]) | |||
End of changes. 9 change blocks. | ||||
11 lines changed or deleted | 30 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |