Skip to content

Commit 1e9f54f

Browse files
committed
VERSION - add support for versioning libmpi_abi
add a blurb about how current and age and revision should work for this library. Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent c766023 commit 1e9f54f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

VERSION

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ date="Unreleased developer copy"
9292
# but they are "public" within the OMPI code base and select 3rd party
9393
# software packages.
9494

95+
# The current and age values of the libmpi_abi shared library are defined by the
96+
# specification of the ABI for the version of the MPI standard supported
97+
# by this Open MPI release. One would hope that these always move in
98+
# sync. We assume we have flexibility with the revision number as
99+
# bugs are fixed, etc.
100+
95101
# Version numbers are described in the Libtool current:revision:age
96102
# format.
97103

@@ -100,6 +106,7 @@ libmpi_mpifh_so_version=0:0:0
100106
libmpi_usempi_tkr_so_version=0:0:0
101107
libmpi_usempi_ignore_tkr_so_version=0:0:0
102108
libmpi_usempif08_so_version=0:0:0
109+
libmpi_abi_so_version=0:0:0
103110
libopen_pal_so_version=0:0:0
104111
libmpi_java_so_version=0:0:0
105112
liboshmem_so_version=0:0:0

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ OPAL_SAVE_VERSION([OPAL], [Open Portable Access Layer], [$srcdir/VERSION],
147147

148148
m4_ifdef([project_ompi],
149149
[AC_SUBST(libmpi_so_version)
150+
AC_SUBST(libmpi_abi_so_version)
150151
AC_SUBST(libmpi_mpifh_so_version)
151152
AC_SUBST(libmpi_usempi_tkr_so_version)
152153
AC_SUBST(libmpi_usempi_ignore_tkr_so_version)

ompi/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ libmpi_abi_la_LIBADD = \
186186
mpi/c/libmpi_c_abi.la \
187187
mpi/tool/libmpi_mpit_abi.la
188188

189+
libmpi_abi_la_LDFLAGS = \
190+
-version-info $(libmpi_abi_so_version) \
191+
$(OMPI_LIBMPI_EXTRA_LDFLAGS)
192+
189193
# included subdirectory Makefile.am's and appended-to variables
190194
headers =
191195
include_HEADERS =

0 commit comments

Comments
 (0)