Skip to content

Commit 8cffdcf

Browse files
author
Ralph Castain
committed
Ensure that the pmix headers and lib get installed when --with-devel-headers is given so that PMIx applications can be built and executed against the "embedded" PMIx version
Signed-off-by: Ralph Castain <[email protected]>
1 parent 4184c01 commit 8cffdcf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

opal/mca/pmix/pmix2x/configure.m4

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ AC_DEFUN([MCA_opal_pmix_pmix2x_CONFIG],[
4949
opal_pmix_pmix2x_sm_flag=--disable-dstore
5050
fi
5151

52-
opal_pmix_pmix2x_args="--enable-embedded-mode --with-pmix-symbol-rename=OPAL_MCA_PMIX2X_ $opal_pmix_pmix2x_sm_flag --without-tests-examples --disable-visibility --enable-embedded-libevent --with-libevent-header=\\\"opal/mca/event/$opal_event_base_include\\\""
52+
opal_pmix_pmix2x_args="--with-pmix-symbol-rename=OPAL_MCA_PMIX2X_ $opal_pmix_pmix2x_sm_flag --without-tests-examples --disable-visibility --enable-embedded-libevent --with-libevent-header=\\\"opal/mca/event/$opal_event_base_include\\\""
5353
AS_IF([test "$enable_debug" = "yes"],
5454
[opal_pmix_pmix2x_args="--enable-debug $opal_pmix_pmix2x_args"
5555
CFLAGS="$OPAL_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS -g"],
5656
[opal_pmix_pmix2x_args="--disable-debug $opal_pmix_pmix2x_args"
5757
CFLAGS="$OPAL_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS"])
58-
AS_IF([test "$with_devel_headers" = "yes"], [],
59-
[opal_pmix_pmix2x_args="--with-devel-headers $opal_pmix_pmix2x_args"])
58+
AS_IF([test "$with_devel_headers" = "yes"],
59+
[opal_pmix_pmix2x_args="--with-devel-headers $opal_pmix_pmix2x_args"],
60+
[opal_pmix_pmix2x_args="--enable-embedded-mode $opal_pmix_pmix2x_args"])
6061
CPPFLAGS="-I$OPAL_TOP_SRCDIR -I$OPAL_TOP_BUILDDIR -I$OPAL_TOP_SRCDIR/opal/include -I$OPAL_TOP_BUILDDIR/opal/include $CPPFLAGS"
6162

6263
OPAL_CONFIG_SUBDIR([$opal_pmix_pmix2x_basedir/pmix],

0 commit comments

Comments
 (0)