[mpich] MPICH primary repository branch, master, updated. v3.2a1-26-g52a42c2
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via 52a42c266c6d5610a99ed14b0d82c3d392a8df8e (commit) from f0c8fe8eda452fc7b08726b8c782af010990d505 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/52a42c266c6d5610a99ed14b0d82c3d392... commit 52a42c266c6d5610a99ed14b0d82c3d392a8df8e Author: Ken Raffenetti <[email protected]> Date: Tue Sep 23 13:31:58 2014 -0500 add libraries needed to build MPICH to EXTERNAL_LIBS Libraries needed to build MPICH (and ROMIO) were missing from EXTERNAL_LIBS. This posed an issue when interlibrary dependencies were not supported, as in static builds, causing user programs to fail to build. Fixes #2172 Signed-off-by: Pavan Balaji <[email protected]> diff --git a/configure.ac b/configure.ac index 2ce0acf..c7e4592 100644 --- a/configure.ac +++ b/configure.ac @@ -5283,6 +5283,7 @@ case $with_thread_package in AC_CHECK_LIB([pthread],[pthread_key_create],have_pthreads=yes) if test "$have_pthreads" = "yes" ; then PAC_PREPEND_FLAG([-lpthread],[LIBS]) + PAC_PREPEND_FLAG([-lpthread],[EXTERNAL_LIBS]) fi AC_CHECK_FUNCS(pthread_yield) @@ -5976,7 +5977,7 @@ AC_DEFINE(HAVE_MPICHCONF,1,[Define so that we can test whether the mpichconf.h f # add the LDFLAGS/LIBS we got so far to WRAPPERs if test "$INTERLIB_DEPS" = "no" ; then WRAPPER_LDFLAGS="$WRAPPER_LDFLAGS $LDFLAGS" - WRAPPER_LIBS="$WRAPPER_LIBS $EXTERNAL_LIBS" + WRAPPER_LIBS="$WRAPPER_LIBS $EXTERNAL_LIBS $ROMIO_EXTERNAL_LIBS" fi if test "$USE_PMI2_API" = "yes" ; then diff --git a/src/mpi/romio/localdefs.in b/src/mpi/romio/localdefs.in index 5b3d670..11edc9e 100644 --- a/src/mpi/romio/localdefs.in +++ b/src/mpi/romio/localdefs.in @@ -1,4 +1,4 @@ #! /bin/sh -LIBS="@LIBS@" +ROMIO_EXTERNAL_LIBS="@LIBS@" MPI_OFFSET_TYPE="@MPI_OFFSET_TYPE@" FORTRAN_MPI_OFFSET="@FORTRAN_MPI_OFFSET@" ----------------------------------------------------------------------- Summary of changes: configure.ac | 3 ++- src/mpi/romio/localdefs.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) hooks/post-receive -- MPICH primary repository
participants (1)
-
noreply@mpich.org