Skip to content

Commit 4951bbe

Browse files
committed
libompitrace: Use VERSION file to set .so version
1 parent d5e65c4 commit 4951bbe

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

VERSION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Copyright (c) 2011 NVIDIA Corporation. All rights reserved.
44
# Copyright (c) 2013 Mellanox Technologies, Inc.
55
# All rights reserved.
6+
# Copyright (c) 2016 IBM Corporation. All rights reserved.
67

78
# This is the VERSION file for Open MPI, describing the precise
89
# version of Open MPI in this distribution. The various components of
@@ -99,6 +100,7 @@ liboshmem_so_version=0:0:0
99100

100101
# OMPI layer
101102
libmca_ompi_common_ompio_so_version=0:0:0
103+
libompi_contrib_libompitrace_so_version=0:0:0
102104

103105
# ORTE layer
104106
libmca_orte_common_alps_so_version=0:0:0

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
2323
# Copyright (c) 2014-2016 Research Organization for Information Science
2424
# and Technology (RIST). All rights reserved.
25+
# Copyright (c) 2016 IBM Corporation. All rights reserved.
2526
# $COPYRIGHT$
2627
#
2728
# Additional copyrights may follow
@@ -152,6 +153,7 @@ AC_SUBST(libmca_opal_common_ugni_so_version)
152153
AC_SUBST(libmca_opal_common_verbs_so_version)
153154
AC_SUBST(libmca_orte_common_alps_so_version)
154155
AC_SUBST(libmca_ompi_common_ompio_so_version)
156+
AC_SUBST(libompi_contrib_libompitrace_so_version)
155157

156158
#
157159
# Get the versions of the autotools that were used to bootstrap us

ompi/contrib/libompitrace/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
1313
# Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
14+
# Copyright (c) 2016 IBM Corporation. All rights reserved.
1415
# $COPYRIGHT$
1516
#
1617
# Additional copyrights may follow
@@ -42,4 +43,4 @@ libompitrace_la_SOURCES = \
4243
send.c \
4344
sendrecv.c
4445

45-
libompitrace_la_LDFLAGS = -version-info 0:0:0
46+
libompitrace_la_LDFLAGS = -version-info $(libompi_contrib_libompitrace_so_version)

0 commit comments

Comments
 (0)