forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Custom libmpi(_FOO) name option in configure
* Add a configure time option to rename libmpi(_FOO).* - `--with-libmpi-name=STRING` * This commit only impacts the installed libraries. Internal, temporary libraries have not been renamed to limit the scope of the patch to only what is needed. For example: ```shell shell$ ./configure --with-libmpi-name=wookie ... shell$ find . -name "libmpi*" shell$ find . -name "libwookie*" ./lib/libwookie.so.0.0.0 ./lib/libwookie.so.0 ./lib/libwookie.so ./lib/libwookie.la ./lib/libwookie_mpifh.so.0.0.0 ./lib/libwookie_mpifh.so.0 ./lib/libwookie_mpifh.so ./lib/libwookie_mpifh.la ./lib/libwookie_usempi.so.0.0.0 ./lib/libwookie_usempi.so.0 ./lib/libwookie_usempi.so ./lib/libwookie_usempi.la shell$ ```
- Loading branch information
Showing
56 changed files
with
209 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
# Copyright (c) 2015 Intel, Inc. All rights reserved. | ||
# Copyright (c) 2015 Research Organization for Information Science | ||
# and Technology (RIST). All rights reserved. | ||
# Copyright (c) 2016 IBM Corporation. All rights reserved. | ||
# $COPYRIGHT$ | ||
# | ||
# Additional copyrights may follow | ||
|
@@ -128,9 +129,9 @@ DIST_SUBDIRS = \ | |
|
||
# Build the main MPI library | ||
|
||
lib_LTLIBRARIES = libmpi.la | ||
libmpi_la_SOURCES = | ||
libmpi_la_LIBADD = \ | ||
lib_LTLIBRARIES = lib@OMPI_LIBMPI_NAME@.la | ||
lib@OMPI_LIBMPI_NAME@_la_SOURCES = | ||
lib@OMPI_LIBMPI_NAME@_la_LIBADD = \ | ||
datatype/libdatatype.la \ | ||
debuggers/libdebuggers.la \ | ||
mpi/c/libmpi_c.la \ | ||
|
@@ -144,13 +145,13 @@ libmpi_la_LIBADD = \ | |
|
||
|
||
if OMPI_RTE_ORTE | ||
libmpi_la_LIBADD += \ | ||
lib@OMPI_LIBMPI_NAME@_la_LIBADD += \ | ||
$(OMPI_TOP_BUILDDIR)/orte/lib@[email protected] | ||
endif | ||
libmpi_la_LIBADD += \ | ||
lib@OMPI_LIBMPI_NAME@_la_LIBADD += \ | ||
$(OMPI_TOP_BUILDDIR)/opal/lib@[email protected] | ||
libmpi_la_DEPENDENCIES = $(libmpi_la_LIBADD) | ||
libmpi_la_LDFLAGS = \ | ||
lib@OMPI_LIBMPI_NAME@_la_DEPENDENCIES = $(lib@OMPI_LIBMPI_NAME@_la_LIBADD) | ||
lib@OMPI_LIBMPI_NAME@_la_LDFLAGS = \ | ||
-version-info $(libmpi_so_version) \ | ||
$(OMPI_LIBMPI_EXTRA_LDFLAGS) | ||
|
||
|
@@ -159,7 +160,7 @@ headers = | |
noinst_LTLIBRARIES = | ||
include_HEADERS = | ||
dist_ompidata_DATA = | ||
libmpi_la_SOURCES += $(headers) | ||
lib@OMPI_LIBMPI_NAME@_la_SOURCES += $(headers) | ||
nodist_man_MANS = | ||
|
||
# Conditionally install the header files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
# Copyright (c) 2004-2005 The Regents of the University of California. | ||
# All rights reserved. | ||
# Copyright (c) 2007-2015 Cisco Systems, Inc. All rights reserved. | ||
# Copyright (c) 2016 IBM Corporation. All rights reserved. | ||
# $COPYRIGHT$ | ||
# | ||
# Additional copyrights may follow | ||
|
@@ -44,13 +45,13 @@ headers = \ | |
|
||
dlopen_test_SOURCES = dlopen_test.c | ||
dlopen_test_LDADD = \ | ||
$(top_builddir)/ompi/libmpi.la \ | ||
$(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \ | ||
$(top_builddir)/opal/lib@[email protected] | ||
dlopen_test_DEPENDENCIES = $(ompi_predefined_LDADD) | ||
|
||
predefined_gap_test_SOURCES = predefined_gap_test.c | ||
predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS) | ||
predefined_gap_test_LDADD = $(top_builddir)/ompi/libmpi.la | ||
predefined_gap_test_LDADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la | ||
predefined_gap_test_DEPENDENCIES = $(ompi_predefined_LDADD) | ||
|
||
libdebuggers_la_SOURCES = \ | ||
|
@@ -78,7 +79,7 @@ libompi_dbg_msgq_la_LDFLAGS = -module -avoid-version | |
# and "make check" will *build* a test in runtime/, but it won't *run* | ||
# it. :-( | ||
predefined_pad_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS) | ||
predefined_pad_test_LDADD = $(top_builddir)/ompi/libmpi.la | ||
predefined_pad_test_LDADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la | ||
predefined_pad_test_DEPENDENCIES = $(ompi_predefined_LDADD) | ||
|
||
# Conditionally install the header files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.