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 fix for wrapper compilers
* In open-mpi/ompi@f6f24a4 I missed updating the library references for the wrapper compilers. * Fixes the CXX wrapper compiler and CXX library is renamed as needed. * Fixes the Java wrapper compiler and the Java library is renamed as needed.
- Loading branch information
Showing
9 changed files
with
24 additions
and
21 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 |
---|---|---|
|
@@ -28,23 +28,23 @@ AM_CPPFLAGS = -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1 | |
|
||
if OMPI_BUILD_MPI_CXX_BINDINGS | ||
|
||
mpi_lib = libmpi_cxx.la | ||
mpi_lib = lib@OMPI_LIBMPI_NAME@_cxx.la | ||
|
||
lib_LTLIBRARIES = libmpi_cxx.la | ||
libmpi_cxx_la_SOURCES = \ | ||
lib_LTLIBRARIES = lib@OMPI_LIBMPI_NAME@_cxx.la | ||
lib@OMPI_LIBMPI_NAME@_cxx_la_SOURCES = \ | ||
mpicxx.cc \ | ||
intercepts.cc \ | ||
comm.cc \ | ||
datatype.cc \ | ||
win.cc | ||
|
||
if OMPI_PROVIDE_MPI_FILE_INTERFACE | ||
libmpi_cxx_la_SOURCES += \ | ||
lib@OMPI_LIBMPI_NAME@_cxx_la_SOURCES += \ | ||
file.cc | ||
endif | ||
|
||
libmpi_cxx_la_LIBADD = $(top_builddir)/ompi/lib@[email protected] | ||
libmpi_cxx_la_LDFLAGS = -version-info $(libmpi_cxx_so_version) | ||
lib@OMPI_LIBMPI_NAME@_cxx_la_LIBADD = $(top_builddir)/ompi/lib@[email protected] | ||
lib@OMPI_LIBMPI_NAME@_cxx_la_LDFLAGS = -version-info $(libmpi_cxx_so_version) | ||
|
||
headers = \ | ||
mpicxx.h \ | ||
|
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 |
---|---|---|
|
@@ -25,8 +25,8 @@ ompidir = $(ompiincludedir)/ompi/mpi/java | |
ompi_HEADERS = \ | ||
$(headers) | ||
|
||
lib_LTLIBRARIES = libmpi_java.la | ||
libmpi_java_la_SOURCES = \ | ||
lib_LTLIBRARIES = lib@OMPI_LIBMPI_NAME@_java.la | ||
lib@OMPI_LIBMPI_NAME@_java_la_SOURCES = \ | ||
mpi_CartComm.c \ | ||
mpi_Comm.c \ | ||
mpi_Constant.c \ | ||
|
@@ -47,7 +47,7 @@ libmpi_java_la_SOURCES = \ | |
mpi_Status.c \ | ||
mpi_Win.c | ||
|
||
libmpi_java_la_LIBADD = -ldl $(top_builddir)/ompi/lib@[email protected] | ||
libmpi_java_la_LDFLAGS = -version-info $(libmpi_java_so_version) | ||
lib@OMPI_LIBMPI_NAME@_java_la_LIBADD = -ldl $(top_builddir)/ompi/lib@[email protected] | ||
lib@OMPI_LIBMPI_NAME@_java_la_LDFLAGS = -version-info $(libmpi_java_so_version) | ||
|
||
endif |
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 |
---|---|---|
|
@@ -19,8 +19,8 @@ linker_flags=@OMPI_WRAPPER_EXTRA_FC_LDFLAGS@ | |
# intentionally only link in the MPI libraries (ORTE, OPAL, etc. are | ||
# pulled in implicitly) because we intend MPI applications to only use | ||
# the MPI API. | ||
libs=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -lmpi_mpifh -l@OMPI_LIBMPI_NAME@ | ||
libs_static=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -lmpi_mpifh -l@OMPI_LIBMPI_NAME@ -l@ORTE_LIB_PREFIX@open-rte -l@OPAL_LIB_PREFIX@open-pal @OMPI_WRAPPER_EXTRA_LIBS@ | ||
libs=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -l@OMPI_LIBMPI_NAME@_mpifh -l@OMPI_LIBMPI_NAME@ | ||
libs_static=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -l@OMPI_LIBMPI_NAME@_mpifh -l@OMPI_LIBMPI_NAME@ -l@ORTE_LIB_PREFIX@open-rte -l@OPAL_LIB_PREFIX@open-pal @OMPI_WRAPPER_EXTRA_LIBS@ | ||
dyn_lib_file=lib@OMPI_LIBMPI_NAME@.@OPAL_DYN_LIB_SUFFIX@ | ||
static_lib_file=lib@[email protected] | ||
required_file=@OMPI_WRAPPER_FORTRAN_REQUIRED_FILE@ | ||
|
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