Skip to content

Commit 5cb3932

Browse files
Merge pull request #6780 from ggouaillardet/topic/pmix_refresh
pmix/pmix4x: refresh to the latest PMIx master
2 parents f1ae036 + 63aa156 commit 5cb3932

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

opal/mca/pmix/pmix4x/pmix/VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ greek=a1
3030
# command, or with the date (if "git describe" fails) in the form of
3131
# "date<date>".
3232

33-
repo_rev=gitf67efc83
33+
repo_rev=git99971222
3434

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

4545
# The date when this release was created
4646

47-
date="Jun 24, 2019"
47+
date="Jun 27, 2019"
4848

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

opal/mca/pmix/pmix4x/pmix/configure.ac

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,18 @@ AC_CONFIG_AUX_DIR(./config)
5252
AC_CONFIG_MACRO_DIR(./config)
5353

5454
# autotools expects to perform tests without interference
55-
# from user-provided CFLAGS, so preserve them here
56-
PMIX_CFLAGS_user=$CFLAGS
57-
CFLAGS=
55+
# from user-provided CFLAGS, particularly -Werror flags.
56+
# Search for them here and cache any we find
57+
PMIX_CFLAGS_cache=
58+
PMIX_CFLAGS_pass=
59+
for val in $CFLAGS; do
60+
if echo "$val" | grep -q -e "-W"; then
61+
PMIX_CFLAGS_cache="$PMIX_CFLAGS_cache $val";
62+
else
63+
PMIX_CFLAGS_pass="$PMIX_CFLAGS_pass $val";
64+
fi
65+
done
66+
CFLAGS=$PMIX_CFLAGS_pass
5867

5968
PMIX_CAPTURE_CONFIGURE_CLI([PMIX_CONFIGURE_CLI])
6069

@@ -162,6 +171,9 @@ LT_PREREQ([2.2.6])
162171

163172
pmix_enable_shared="$enable_shared"
164173
pmix_enable_static="$enable_static"
174+
AS_IF([test ! -z "$enable_static" && test "$enable_static" == "yes"],
175+
[CFLAGS="$CFLAGS -fPIC"])
176+
165177
AM_ENABLE_SHARED
166178
AM_DISABLE_STATIC
167179

@@ -210,8 +222,8 @@ AS_IF([test -z "$CC_FOR_BUILD"],[
210222
AC_SUBST([CC_FOR_BUILD], [$CC])
211223
])
212224

213-
# restore any user-provided flags
214-
AS_IF([test ! -z "$PMIX_CFLAGS_user"], [CFLAGS="$CFLAGS $PMIX_CFLAGS_user"])
225+
# restore any user-provided Werror flags
226+
AS_IF([test ! -z "$PMIX_CFLAGS_cache"], [CFLAGS="$CFLAGS $PMIX_CFLAGS_cache"])
215227

216228
# Delay setting pickyness until here so we
217229
# don't break configure code tests

0 commit comments

Comments
 (0)