Skip to content

Commit 5499d89

Browse files
author
Ralph Castain
authored
Merge pull request #5846 from rhc54/topic/pmix
Fail configure if pmix won't build
2 parents 5f1c940 + c498a7e commit 5499d89

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-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"

opal/mca/pmix/pmix4x/pmix/config/pmix_setup_hwloc.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ AC_DEFUN([PMIX_HWLOC_CONFIG],[
2424
[Search for hwloc libraries in DIR ])])
2525

2626
pmix_hwloc_support=0
27+
AS_IF([test "$with_hwloc" = "internal" || test "$with_hwloc" = "external"],
28+
[with_hwloc=])
2729

2830
if test "$with_hwloc" != "no"; then
2931
AC_MSG_CHECKING([for hwloc in])

0 commit comments

Comments
 (0)