1
1
cmr=v1.7.4:reviewer=jsquyres

This commit was SVN r30555.
Этот коммит содержится в:
Nathan Hjelm 2014-02-04 19:44:08 +00:00
родитель 230336b6a8
Коммит 5c35b5ba19
3 изменённых файлов: 6 добавлений и 9 удалений

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

@ -150,7 +150,7 @@ AC_DEFUN([OPAL_SETUP_RPATH],[
# (because if script A sources script B, and B calls "exit", then both # (because if script A sources script B, and B calls "exit", then both
# B and A will exit). Instead, we have to send the output to a file # B and A will exit). Instead, we have to send the output to a file
# and then source that. # and then source that.
$OMPI_TOP_BUILDDIR/opal/libltdl/libtool --config > $rpath_outfile $OMPI_TOP_BUILDDIR/libtool --config > $rpath_outfile
chmod +x $rpath_outfile chmod +x $rpath_outfile
. ./$rpath_outfile . ./$rpath_outfile
@ -214,9 +214,8 @@ AC_DEFUN([OPAL_SETUP_RUNPATH],[
# runtime), and the RUNPATH args, if we have them. # runtime), and the RUNPATH args, if we have them.
AC_DEFUN([RPATHIFY_LDFLAGS],[ AC_DEFUN([RPATHIFY_LDFLAGS],[
OPAL_VAR_SCOPE_PUSH([rpath_out rpath_dir rpath_tmp]) OPAL_VAR_SCOPE_PUSH([rpath_out rpath_dir rpath_tmp])
AS_IF([test "$enable_wrapper_rpath" = "no" -o "$WRAPPER_RPATH_SUPPORT" = "disabled"], AS_IF([test "$enable_wrapper_rpath" = "yes" -a ! "$WRAPPER_RPATH_SUPPORT" = "disabled" -a ! "WRAPPER_RPATH_SUPPORT" = "unnecessary"], [
[:], rpath_out=""
[rpath_out=
for val in ${$1}; do for val in ${$1}; do
case $val in case $val in
-L*) -L*)
@ -229,7 +228,7 @@ AC_DEFUN([RPATHIFY_LDFLAGS],[
# Now add in the RPATH args for @{libdir}, and the RUNPATH args # Now add in the RPATH args for @{libdir}, and the RUNPATH args
rpath_tmp=`echo $rpath_args | sed -e s/LIBDIR/@{libdir}/` rpath_tmp=`echo $rpath_args | sed -e s/LIBDIR/@{libdir}/`
$1="$rpath_out $rpath_tmp $runpath_args" $1="${$1} $rpath_out $rpath_tmp $runpath_args"
]) ])
OPAL_VAR_SCOPE_POP OPAL_VAR_SCOPE_POP
]) ])

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

@ -1307,6 +1307,8 @@ AC_SUBST(OPAL_DYN_LIB_SUFFIX)
OPAL_SETUP_LIBLTDL OPAL_SETUP_LIBLTDL
# Need the libtool binary before the rpathify stuff
LT_OUTPUT
############################################################################ ############################################################################
# final compiler config # final compiler config

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

@ -32,7 +32,3 @@ fi
with_tm=no with_tm=no
with_slurm=no with_slurm=no
# rpath alps, pmi, uGNI, and xpmem libraries
LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib64/alps -Wl,-rpath=$with_pmi/lib64 -Wl,-rpath=$with_ugni/lib64 -Wl,-rpath=$with_xpmem/lib64 -Wl,-rpath=$with_udreg/lib64"
with_wrapper_ldflags="-Wl,-rpath=/usr/lib64/alps -Wl,-rpath=$with_pmi/lib64 -Wl,-rpath=$with_ugni/lib64 -Wl,-rpath=$with_xpmem/lib64"