Skip to content

Commit f379ba9

Browse files
author
Ralph Castain
committed
Fail configure if pmix won't build
If we are using the internal PMIx component and the embedded library fails to configure, then fail - don't silently fail to build and then fail in execution Signed-off-by: Ralph Castain <rhc@open-mpi.org>
1 parent 5f1c940 commit f379ba9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opal/mca/pmix/pmix4x/configure.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ AC_DEFUN([MCA_opal_pmix_pmix4x_CONFIG],[
8787
[AC_MSG_RESULT([no - disqualifying this component])
8888
opal_pmix_pmix4x_happy=0],
8989
[AC_MSG_RESULT([yes - using the internal v4.x library])
90+
AS_IF([test "$opal_pmix_pmix4x_happy" = "0"],
91+
[AC_MSG_WARN([INTERNAL PMIX FAILED TO CONFIGURE])
92+
AC_MSG_ERROR([CANNOT CONTINUE])])
9093
# Build flags for our Makefile.am
9194
opal_pmix_pmix4x_LDFLAGS=
9295
opal_pmix_pmix4x_LIBS="$OPAL_TOP_BUILDDIR/$opal_pmix_pmix4x_basedir/pmix/src/libpmix.la"

0 commit comments

Comments
 (0)