Ensure we push/pop local AC vars in the right place
Signed-off-by: Ralph Castain <rhc@pmix.org>
Этот коммит содержится в:
родитель
cd1b5641be
Коммит
c054d4d1cc
@ -243,6 +243,7 @@ AC_DEFUN([OPAL_CHECK_PMI],[
|
|||||||
# OPAL_CHECK_PMIX_LIB(installdir, libdir, [action-if-valid], [action-if-not-valid])
|
# OPAL_CHECK_PMIX_LIB(installdir, libdir, [action-if-valid], [action-if-not-valid])
|
||||||
AC_DEFUN([OPAL_CHECK_PMIX_LIB],[
|
AC_DEFUN([OPAL_CHECK_PMIX_LIB],[
|
||||||
|
|
||||||
|
OPAL_VAR_SCOPE_PUSH([opal_external_pmix_save_CPPFLAGS opal_external_pmix_save_LDFLAGS opal_external_pmix_save_LIBS])
|
||||||
opal_external_pmix_happy=no
|
opal_external_pmix_happy=no
|
||||||
|
|
||||||
# Make sure we have the headers and libs in the correct location
|
# Make sure we have the headers and libs in the correct location
|
||||||
@ -386,13 +387,13 @@ AC_DEFUN([OPAL_CHECK_PMIX_LIB],[
|
|||||||
])
|
])
|
||||||
AS_IF([test "$opal_external_pmix_happy" = "yes"],
|
AS_IF([test "$opal_external_pmix_happy" = "yes"],
|
||||||
[$3], [$4])
|
[$3], [$4])
|
||||||
|
|
||||||
|
OPAL_VAR_SCOPE_POP
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
AC_DEFUN([OPAL_CHECK_PMIX],[
|
AC_DEFUN([OPAL_CHECK_PMIX],[
|
||||||
|
|
||||||
OPAL_VAR_SCOPE_PUSH([opal_external_pmix_save_CPPFLAGS opal_external_pmix_save_LDFLAGS opal_external_pmix_save_LIBS])
|
|
||||||
|
|
||||||
AC_ARG_WITH([pmix],
|
AC_ARG_WITH([pmix],
|
||||||
[AC_HELP_STRING([--with-pmix(=DIR)],
|
[AC_HELP_STRING([--with-pmix(=DIR)],
|
||||||
[Build PMIx support. DIR can take one of three values: "internal", "external", or a valid directory name. "internal" (or no DIR value) forces Open MPI to use its internal copy of PMIx. "external" forces Open MPI to use an external installation of PMIx. Supplying a valid directory name also forces Open MPI to use an external installation of PMIx, and adds DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries. Note that Open MPI does not support --without-pmix.])])
|
[Build PMIx support. DIR can take one of three values: "internal", "external", or a valid directory name. "internal" (or no DIR value) forces Open MPI to use its internal copy of PMIx. "external" forces Open MPI to use an external installation of PMIx. Supplying a valid directory name also forces Open MPI to use an external installation of PMIx, and adds DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries. Note that Open MPI does not support --without-pmix.])])
|
||||||
@ -469,6 +470,4 @@ AC_DEFUN([OPAL_CHECK_PMIX],[
|
|||||||
[OPAL_SUMMARY_ADD([[Miscellaneous]],[[PMIx support]], [opal_pmix], [External (1.2.5) WARNING - DYNAMIC OPS NOT SUPPORTED])],
|
[OPAL_SUMMARY_ADD([[Miscellaneous]],[[PMIx support]], [opal_pmix], [External (1.2.5) WARNING - DYNAMIC OPS NOT SUPPORTED])],
|
||||||
[OPAL_SUMMARY_ADD([[Miscellaneous]],[[PMIx support]], [opal_pmix], [External ($opal_external_pmix_version)])])],
|
[OPAL_SUMMARY_ADD([[Miscellaneous]],[[PMIx support]], [opal_pmix], [External ($opal_external_pmix_version)])])],
|
||||||
[OPAL_SUMMARY_ADD([[Miscellaneous]], [[PMIx support]], [opal_pmix], [Internal])])
|
[OPAL_SUMMARY_ADD([[Miscellaneous]], [[PMIx support]], [opal_pmix], [Internal])])
|
||||||
|
|
||||||
OPAL_VAR_SCOPE_POP
|
|
||||||
])
|
])
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user