[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-83-g8b73bd9
Service Account
noreply at mpich.org
Thu Aug 7 15:38:42 CDT 2014
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 8b73bd97d382c6ac8bd8d5158a475bfe6b78a063 (commit)
from a415703dcef90dc2282856da481955f11ebb17a0 (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/8b73bd97d382c6ac8bd8d5158a475bfe6b78a063
commit 8b73bd97d382c6ac8bd8d5158a475bfe6b78a063
Author: Sangmin Seo <sseo at anl.gov>
Date: Tue Aug 5 23:12:42 2014 -0500
Add dependency check for external libs
Since automake cannot determine the value of 'external_libs =
@mpllib@ @opalib@' in Makefile.am, $(external_libs) is missed in
lib_lib at PMPILIBNAME@_la_DEPENDENCIES and
lib_lib at MPILIBNAME@_la_DEPENDENCIES. This patch adds
$(external_libs) to EXTRA_lib_lib at PMPILIBNAME@_la_DEPENDENCIES and
EXTRA_lib_lib at MPILIBNAME@_la_DEPENDENCIES so that dependency for
$(external_libs) is correctly checked. This automake email thread
describes the issue:
http://lists.gnu.org/archive/html/automake/2008-06/msg00077.html
Fixes #2131
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/Makefile.am b/Makefile.am
index 654bd82..6af4b62 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -151,6 +151,7 @@ lib_LTLIBRARIES += lib/lib at PMPILIBNAME@.la
lib_lib at PMPILIBNAME@_la_SOURCES = $(mpi_sources) $(mpi_f77_sources) $(mpi_core_sources)
lib_lib at PMPILIBNAME@_la_LDFLAGS = $(external_ldflags) $(ABIVERSIONFLAGS)
lib_lib at PMPILIBNAME@_la_LIBADD = $(external_libs) $(pmpi_convenience_libs)
+EXTRA_lib_lib at PMPILIBNAME@_la_DEPENDENCIES = $(external_libs)
# lib at MPILIBNAME@.la might depend on lib at PMPILIBNAME@.la. We add them
# in that order to lib_LTLIBRARIES so libtool doesn't get
@@ -168,6 +169,7 @@ lib_lib at MPILIBNAME@_la_SOURCES = $(mpi_sources) $(mpi_core_sources)
lib_lib at MPILIBNAME@_la_LDFLAGS = $(external_ldflags) $(ABIVERSIONFLAGS)
lib_lib at MPILIBNAME@_la_CPPFLAGS = $(AM_CPPFLAGS)
lib_lib at MPILIBNAME@_la_LIBADD = $(external_libs) $(pmpi_convenience_libs) $(mpi_convenience_libs)
+EXTRA_lib_lib at MPILIBNAME@_la_DEPENDENCIES = $(external_libs)
endif !BUILD_PROFILING_LIB
if BUILD_F77_BINDING
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list