Update configry for XLF.

waitall
Salvatore Filippone 7 years ago
parent ee6992e938
commit bf71bc6a04

4
configure vendored

@ -6537,8 +6537,8 @@ if test "X$FCOPT" == "X" ; then
FCOPT="-g -O3 $FCOPT" FCOPT="-g -O3 $FCOPT"
elif test "X$psblas_cv_fc" == X"xlf" ; then elif test "X$psblas_cv_fc" == X"xlf" ; then
# XL compiler : consider using -qarch=auto # XL compiler : consider using -qarch=auto
FCOPT="-O3 -qarch=auto -qfixed -qsuffix=f=f:cpp=F -qlanglvl=extended $FCOPT" FCOPT="-O3 -qarch=auto -qlanglvl=extended -qxlf2003=polymorphic:autorealloc $FCOPT"
FCFLAGS="-qhalt=e $FCFLAGS" FCFLAGS="-qhalt=e -qlanglvl=extended -qxlf2003=polymorphic:autorealloc $FCFLAGS"
elif test "X$psblas_cv_fc" == X"ifc" ; then elif test "X$psblas_cv_fc" == X"ifc" ; then
# other compilers .. # other compilers ..
FCOPT="-O3 $FCOPT" FCOPT="-O3 $FCOPT"

@ -380,8 +380,8 @@ if test "X$FCOPT" == "X" ; then
FCOPT="-g -O3 $FCOPT" FCOPT="-g -O3 $FCOPT"
elif test "X$psblas_cv_fc" == X"xlf" ; then elif test "X$psblas_cv_fc" == X"xlf" ; then
# XL compiler : consider using -qarch=auto # XL compiler : consider using -qarch=auto
FCOPT="-O3 -qarch=auto -qfixed -qsuffix=f=f:cpp=F -qlanglvl=extended $FCOPT" FCOPT="-O3 -qarch=auto -qlanglvl=extended -qxlf2003=polymorphic:autorealloc $FCOPT"
FCFLAGS="-qhalt=e $FCFLAGS" FCFLAGS="-qhalt=e -qlanglvl=extended -qxlf2003=polymorphic:autorealloc $FCFLAGS"
elif test "X$psblas_cv_fc" == X"ifc" ; then elif test "X$psblas_cv_fc" == X"ifc" ; then
# other compilers .. # other compilers ..
FCOPT="-O3 $FCOPT" FCOPT="-O3 $FCOPT"

Loading…
Cancel
Save