1
1

Per RFC enable the use of the source directive (relative path) in platform files. The priority of configure options vs platform file options remains the same.

This commit was SVN r26873.
Этот коммит содержится в:
Nathan Hjelm 2012-07-26 16:19:23 +00:00
родитель 204fbfe4b1
Коммит 3c6e2a2a48

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

@ -50,7 +50,18 @@ AC_DEFUN([OMPI_LOAD_PLATFORM], [
# eval into environment
OPAL_LOG_MSG([Loading environment file $with_platform, with contents below])
OPAL_LOG_FILE([$with_platform])
. "$with_platform"
# setup by getting full pathname for the platform directories
platform_base="`dirname $with_platform`"
platform_file="`basename $with_platform`"
# get full pathname of where we are so we can return
platform_savedir="`pwd`"
# go to where the platform file is located
cd "$platform_base"
# get the full path to this location
platform_file_dir=`pwd`
. "$platform_file"
# see if they left us a name
if test "$OMPI_PLATFORM_LOADED" != "" ; then
@ -63,14 +74,6 @@ AC_DEFUN([OMPI_LOAD_PLATFORM], [
# look for default mca param file
# setup by getting full pathname for the platform directories
platform_base="`dirname $with_platform`"
# get full pathname of where we are so we can return
platform_savedir="`pwd`"
# go to where the platform file is located
cd "$platform_base"
# get the full path to this location
platform_file_dir=`pwd`
# return to where we started
cd "$platform_savedir"