-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
romio: skip binding sources if FROM_MPICH
MPICH will generate the binding layer. Now that libromio just supply internal code, we no longer need worry about libromio vs libpromio. We don't separate man pages and include mpio.h in mpi.h either.
- Loading branch information
Showing
5 changed files
with
13 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,11 @@ external_libs = @WRAPPER_LIBS@ | |
mpi_convenience_libs = | ||
pmpi_convenience_libs = @mpllib@ @hwloclib@ @jsonlib@ @yaksalib@ @pmilib@ | ||
|
||
if BUILD_ROMIO | ||
external_subdirs += src/mpi/romio | ||
pmpi_convenience_libs += src/mpi/romio/libromio.la | ||
endif | ||
|
||
# NOTE on our semi-unconventional usage of DIST_SUBDIRS: | ||
# The automake manual recommends thinking of DIST_SUBDIRS as the list of all | ||
# *configured* subdirectories. The normal autotools model involves | ||
|
@@ -136,12 +141,6 @@ lib_lib@MPILIBNAME@_la_LDFLAGS = $(ABIVERSIONFLAGS) | |
lib_lib@MPILIBNAME@_la_CPPFLAGS = $(AM_CPPFLAGS) -DMPICH_MPI_FROM_PMPI | ||
lib_lib@MPILIBNAME@_la_LIBADD = lib/lib@[email protected] $(mpi_convenience_libs) | ||
|
||
if BUILD_ROMIO | ||
# libpromio contains the PMPI symbols (unlike libpmpi, which contains MPI | ||
# symbols) and should be added to libpmpi | ||
lib_lib@PMPILIBNAME@_la_LIBADD += src/mpi/romio/libpromio.la | ||
lib_lib@MPILIBNAME@_la_LIBADD += src/mpi/romio/libromio.la | ||
endif | ||
else !BUILD_PROFILING_LIB | ||
|
||
lib_LTLIBRARIES += lib/lib@[email protected] | ||
|
@@ -151,9 +150,6 @@ lib_lib@MPILIBNAME@_la_CPPFLAGS = $(AM_CPPFLAGS) | |
lib_lib@MPILIBNAME@_la_LIBADD = $(external_libs) $(pmpi_convenience_libs) $(mpi_convenience_libs) | ||
EXTRA_lib_lib@MPILIBNAME@_la_DEPENDENCIES = $(pmpi_convenience_libs) $(mpi_convenience_libs) | ||
|
||
if BUILD_ROMIO | ||
lib_lib@MPILIBNAME@_la_LIBADD += src/mpi/romio/libromio.la | ||
endif | ||
endif !BUILD_PROFILING_LIB | ||
|
||
if BUILD_ABI_LIB | ||
|
@@ -177,10 +173,6 @@ lib_lib@MPIABILIBNAME@_la_LDFLAGS = $(ABIVERSIONFLAGS) | |
lib_lib@MPIABILIBNAME@_la_CPPFLAGS = $(AM_CPPFLAGS) -DMPICH_MPI_FROM_PMPI $(abi_cppflags) | ||
lib_lib@MPIABILIBNAME@_la_LIBADD = lib/lib@[email protected] $(mpi_convenience_libs) | ||
|
||
if BUILD_ROMIO | ||
lib_lib@PMPIABILIBNAME@_la_LIBADD += src/mpi/romio/libpromio_abi.la | ||
lib_lib@MPIABILIBNAME@_la_LIBADD += src/mpi/romio/libromio_abi.la | ||
endif | ||
else !BUILD_PROFILING_LIB | ||
|
||
lib_LTLIBRARIES += lib/lib@[email protected] | ||
|
@@ -190,9 +182,6 @@ lib_lib@MPIABILIBNAME@_la_CPPFLAGS = $(AM_CPPFLAGS) $(abi_cppflags) | |
lib_lib@MPIABILIBNAME@_la_LIBADD = $(external_libs) $(pmpi_convenience_libs) $(mpi_convenience_libs) | ||
EXTRA_lib_lib@MPIABILIBNAME@_la_DEPENDENCIES = $(pmpi_convenience_libs) $(mpi_convenience_libs) | ||
|
||
if BUILD_ROMIO | ||
lib_lib@MPIABILIBNAME@_la_LIBADD += src/mpi/romio/libromio_abi.la | ||
endif | ||
endif !BUILD_PROFILING_LIB | ||
endif BUILD_ABI_LIB | ||
|
||
|
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