1
1

Add in a 3rd patch that I missed in r22273. This fixes all known

issues with #2114 -- PGI v10.x should work fine now (even with the
"gfortran" executable name).

Fixes trac:2114.

This commit was SVN r22274.

The following SVN revision numbers were found above:
  r22273 --> open-mpi/ompi@2e2a07e5eb

The following Trac tickets were found above:
  Ticket 2114 --> https://svn.open-mpi.org/trac/ompi/ticket/2114
Этот коммит содержится в:
Jeff Squyres 2009-12-08 02:14:40 +00:00
родитель 2e2a07e5eb
Коммит 982b6204cd

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

@ -600,15 +600,18 @@ EOF
# Ugh. LT <=2.2.6b need to be patched for the PGI 10.0 fortran
# compiler name (pgfortran). The following comes from the
# upstream LT patch:
# http://lists.gnu.org/archive/html/libtool-patches/2009-11/msg00012.html.
# upstream LT patches:
# http://lists.gnu.org/archive/html/libtool-patches/2009-11/msg00012.html
# http://lists.gnu.org/archive/html/bug-libtool/2009-11/msg00045.html
# Note that that patch is part of Libtool (which is not in this
# OMPI source tree); we can't fix it. So all we can do is patch
# the resulting configure script. :-(
echo " ++ Patching configure for Libtool PGI 10 fortran compiler name"
rm -f configure.patched
cp configure configure.org
sed -e 's/gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn/gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn/' configure > configure.patched
sed -e 's/gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn/gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn/' \
-e 's/pgcc\* | pgf77\* | pgf90\* | pgf95\*)/pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)/' \
-e 's/pgf77\* | pgf90\* | pgf95\*)/pgf77* | pgf90* | pgf95* | pgfortran*)/' \
configure > configure.patched
cp configure.patched configure
rm -f configure.patched