Skip to content

Commit 0f44d92

Browse files
authored
Merge pull request #4071 from rhc54/cmr2x/exports
Remove visibility directives from public APIs
2 parents 81ce89c + 866ee1b commit 0f44d92

File tree

111 files changed

+11556
-919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+11556
-919
lines changed

opal/mca/pmix/pmix112/pmix/Makefile.am

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# All rights reserved.
1212
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1313
# Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved.
14-
# Copyright (c) 2013-2016 Intel, Inc. All rights reserved
14+
# Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1515
# $COPYRIGHT$
1616
#
1717
# Additional copyrights may follow
@@ -60,24 +60,39 @@ include src/server/Makefile.am
6060
include src/sec/Makefile.am
6161
include src/common/Makefile.am
6262

63+
include src/atomics/asm/Makefile.am
64+
include src/atomics/sys/Makefile.include
65+
6366
if WANT_DSTORE
6467
include src/sm/Makefile.am
6568
include src/dstore/Makefile.am
6669
endif
6770

6871
if PMIX_EMBEDDED_MODE
69-
noinst_LTLIBRARIES = libpmix.la
72+
noinst_LTLIBRARIES = libpmix.la libasm.la
7073
libpmix_la_SOURCES = $(headers) $(sources)
7174
libpmix_la_LDFLAGS =
7275

7376
else
7477

75-
lib_LTLIBRARIES = libpmix.la
78+
lib_LTLIBRARIES = libpmix.la libasm.la
7679
libpmix_la_SOURCES = $(headers) $(sources)
7780
libpmix_la_LDFLAGS = -version-info $(libpmix_so_version)
78-
SUBDIRS = . test examples
81+
SUBDIRS = . test examples src/atomics/asm
82+
endif
83+
84+
# ASM Start
85+
if PMIX_HAVE_ASM_FILE
86+
nodist_libasm_la_SOURCES = src/atomics/asm/atomic-asm.S
87+
libasm_la_DEPENDENCIES = src/atomics/asm/generated/@PMIX_ASM_FILE@
88+
else
89+
nodist_libasm_la_SOURCES =
90+
libasm_la_DEPENDENCIES =
7991
endif
8092

93+
dist_libasm_la_SOURCES = src/atomics/asm/asm.c
94+
# ASM End
95+
8196
if WANT_INSTALL_HEADERS
8297
pmixdir = $(pmixincludedir)/$(subdir)
8398
nobase_pmix_HEADERS = $(headers)
@@ -99,9 +114,27 @@ EXTRA_DIST += README INSTALL VERSION LICENSE autogen.sh \
99114
test/test_common.h test/cli_stages.h \
100115
test/server_callbacks.h test/test_fence.h \
101116
test/test_publish.h test/test_resolve_peers.h \
102-
test/test_spawn.h test/utils.h test/test_cd.h
117+
test/test_spawn.h test/utils.h test/test_cd.h \
118+
src/atomics/asm/asm-data.txt \
119+
src/atomics/asm/generate-asm.pl \
120+
src/atomics/asm/generate-all-asm.pl \
121+
src/atomics/asm/base/aix.conf \
122+
src/atomics/asm/base/default.conf \
123+
src/atomics/asm/base/X86_64.asm \
124+
src/atomics/asm/base/ARM.asm \
125+
src/atomics/asm/base/IA32.asm \
126+
src/atomics/asm/base/IA64.asm \
127+
src/atomics/asm/base/MIPS.asm \
128+
src/atomics/asm/base/POWERPC32.asm \
129+
src/atomics/asm/base/POWERPC64.asm \
130+
src/atomics/asm/base/SPARCV9_32.asm \
131+
src/atomics/asm/base/SPARCV9_64.asm
103132

104133

134+
#
135+
# Copy over all the generated files
136+
#
105137
dist-hook:
138+
mkdir "${distdir}/src/atomics/asm/generated"
139+
$(PERL) "$(top_srcdir)/src/atomics/asm/generate-all-asm.pl" "$(PERL)" "$(srcdir)/src/atomics/asm" "$(distdir)/src/atomics/asm"
106140
env LS_COLORS= sh "$(top_srcdir)/config/distscript.sh" "$(top_srcdir)" "$(distdir)" "$(PMIX_VERSION)" "$(PMIX_REPO_REV)"
107-

opal/mca/pmix/pmix112/pmix/NEWS

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2016 Intel, Inc. All rights reserved.
1+
# Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
22
Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
33
$COPYRIGHT$
44

@@ -20,17 +20,29 @@ other, a single NEWS-worthy item might apply to different series. For
2020
example, a bug might be fixed in the master, and then moved to the
2121
current release as well as the "stable" bug fix release branch.
2222

23-
1.2.1
24-
-----
23+
1.2.3 -- TBD
24+
----------------------
25+
26+
27+
1.2.2 -- 21 March 2017
28+
----------------------
29+
- Compiler fix for Sun/Oracle CC (PR #322)
30+
- Fix missing include (PR #326)
31+
- Improve error checking around posix_fallocate (PR #329)
32+
- Fix possible memory corruption (PR #331)
33+
34+
35+
1.2.1 -- 21 Feb. 2017
36+
----------------------
2537
- dstore: Fix data corruption bug in key overwrite cases
2638
- dstore: Performance and scalability fixes
2739
- sm: Use posix_fallocate() before mmap
2840
- pmi1/pmi2: Restore support
2941
- dstore: Fix extension slot size allocation (Issue #280)
3042

3143

32-
1.2.0
33-
-----
44+
1.2.0 -- 14 Dec. 2016
45+
----------------------
3446
- Add shared memory data storage (dstore) option. Default: enabled
3547
Configure option: --disable-dstore
3648
- PMIx_Commit performance improvements

opal/mca/pmix/pmix112/pmix/VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
major=1
1818
minor=2
19-
release=1
19+
release=3
2020

2121
# greek is used for alpha or beta release tags. If it is non-empty,
2222
# it will be appended to the version number. It does not have to be
@@ -31,7 +31,7 @@ greek=
3131
# command, or with the date (if "git describe" fails) in the form of
3232
# "date<date>".
3333

34-
repo_rev=gitef61cf0a
34+
repo_rev=git445f882
3535

3636
# If tarball_version is not empty, it is used as the version string in
3737
# the tarball filename, regardless of all other versions listed in
@@ -45,7 +45,7 @@ tarball_version=
4545

4646
# The date when this release was created
4747

48-
date="Feb 21, 2017"
48+
date="Aug 10, 2017"
4949

5050
# The shared library version of each of PMIx's public libraries.
5151
# These versions are maintained in accordance with the "Library

opal/mca/pmix/pmix112/pmix/config/pmix.m4

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ AC_DEFUN([PMIX_SETUP_CORE],[
180180
AC_CHECK_TYPES(uint32_t)
181181
AC_CHECK_TYPES(int64_t)
182182
AC_CHECK_TYPES(uint64_t)
183+
AC_CHECK_TYPES(__int128)
184+
AC_CHECK_TYPES(uint128_t)
183185
AC_CHECK_TYPES(long long)
184186

185187
AC_CHECK_TYPES(intptr_t)
@@ -303,6 +305,17 @@ AC_DEFUN([PMIX_SETUP_CORE],[
303305
PMIX_CHECK_ATTRIBUTES
304306
PMIX_CHECK_COMPILER_VERSION_ID
305307

308+
##################################
309+
# Assembler Configuration
310+
##################################
311+
312+
pmix_show_subtitle "Assembler"
313+
314+
AM_PROG_AS
315+
AC_PATH_PROG(PERL, perl, perl)
316+
PMIX_CONFIG_ASM
317+
318+
306319
##################################
307320
# Header files
308321
##################################
@@ -555,6 +568,16 @@ AC_DEFUN([PMIX_SETUP_CORE],[
555568
AC_C_BIGENDIAN
556569
PMIX_CHECK_BROKEN_QSORT
557570

571+
#
572+
# What is the local equivalent of "ln -s"
573+
#
574+
575+
AC_PROG_LN_S
576+
577+
AC_PROG_GREP
578+
AC_PROG_EGREP
579+
580+
558581
##################################
559582
# Visibility
560583
##################################
@@ -643,7 +666,10 @@ AC_DEFUN([PMIX_SETUP_CORE],[
643666

644667
pmix_show_subtitle "Final output"
645668

646-
AC_CONFIG_FILES(pmix_config_prefix[Makefile])
669+
AC_CONFIG_FILES(
670+
pmix_config_prefix[Makefile]
671+
pmix_config_prefix[src/atomics/asm/Makefile]
672+
)
647673

648674
# Success
649675
$2
@@ -848,15 +874,15 @@ AC_DEFINE_UNQUOTED([PMIX_ENABLE_TIMING], [$WANT_TIMING],
848874
# Install backward compatibility support for PMI-1 and PMI-2
849875
#
850876
AC_MSG_CHECKING([if want backward compatibility for PMI-1 and PMI-2])
851-
AC_ARG_ENABLE(pmix-backward-compatibility,
852-
AC_HELP_STRING([--enable-pmix-backward-compatibility],
877+
AC_ARG_ENABLE(pmi-backward-compatibility,
878+
AC_HELP_STRING([--enable-pmi-backward-compatibility],
853879
[enable PMIx support for PMI-1 and PMI-2 (default: enabled)]))
854-
if test "$enable_pmix_backward_compatibility" = "no"; then
880+
if test "$enable_pmi_backward_compatibility" = "no"; then
855881
AC_MSG_RESULT([no])
856-
WANT_PMIX_BACKWARD=0
882+
WANT_PMI_BACKWARD=0
857883
else
858884
AC_MSG_RESULT([yes])
859-
WANT_PMIX_BACKWARD=1
885+
WANT_PMI_BACKWARD=1
860886
fi
861887

862888
])dnl
@@ -875,7 +901,7 @@ AC_DEFUN([PMIX_DO_AM_CONDITIONALS],[
875901
AM_CONDITIONAL([PMIX_WANT_MUNGE], [test "$pmix_munge_support" = "1"])
876902
AM_CONDITIONAL([PMIX_WANT_SASL], [test "$pmix_sasl_support" = "1"])
877903
AM_CONDITIONAL([WANT_DSTORE],[test "x$enable_dstore" != "xno"])
878-
AM_CONDITIONAL(WANT_PMIX_BACKWARD, test "$WANT_PMIX_BACKWARD" = 1)
904+
AM_CONDITIONAL(WANT_PMI_BACKWARD, test "$WANT_PMI_BACKWARD" = 1)
879905
])
880906
pmix_did_am_conditionals=yes
881907
])dnl

opal/mca/pmix/pmix112/pmix/config/pmix_check_visibility.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# All rights reserved.
1313
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2009-2011 Oracle and/or its affiliates. All rights reserved.
15+
# Copyright (c) 2017 Intel, Inc. All rights reserved.
1516
# $COPYRIGHT$
1617
#
1718
# Additional copyrights may follow
@@ -86,7 +87,7 @@ AC_DEFUN([PMIX_CHECK_VISIBILITY],[
8687
unset pmix_add
8788
fi
8889

89-
AC_DEFINE_UNQUOTED([PMIX_C_HAVE_VISIBILITY], [$WANT_VISIBILITY],
90+
AC_DEFINE_UNQUOTED([PMIX_HAVE_VISIBILITY], [$WANT_VISIBILITY],
9091
[Whether C compiler supports symbol visibility or not])
9192
AM_CONDITIONAL([WANT_HIDDEN],[test "$WANT_VISIBILITY" = "1"])
9293
])

0 commit comments

Comments
 (0)