1
1

Set flag for the Absoft compiler so that it doesn't complain

incessantly about ignore TKR pragmas that it doesn't understand.

This commit was SVN r27124.
Этот коммит содержится в:
Jeff Squyres 2012-08-23 20:13:25 +00:00
родитель 855c9ae6cf
Коммит 81cd3e77cf

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

@ -107,6 +107,22 @@ AC_DEFUN([OMPI_SETUP_FC],[
;;
esac])
AC_SUBST(OMPI_FORTRAN_EXTRA_SHARED_LIBRARY_FLAGS)
# The Absoft compiler does not like the fact that we use lots of
# "ignore TKR" comment pragmas that it doesn't understand, and
# will warn about them. From Tony Goetz at Absoft, we can use the
# -Z790 flag to quell these warnings.
AC_MSG_CHECKING([for $FC warnings flags])
fc_version=`$FC --version 2>&1`
case "$fc_version" in
*Absoft*)
AC_MSG_RESULT([-Z790])
FCFLAGS="$FCFLAGS -Z790"
;;
*)
AC_MSG_RESULT([none])
;;
esac
# If we're still good, then save the extra file types. Do this last
# because it implies tests that should be invoked by the above tests