From c36b9e88886113802b2671eee9dd6640e2f881d8 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 10 Jul 2017 15:17:17 +0900 Subject: [PATCH] Revert "Remove --enable-heterogeneous until fix is ready" This reverts commit open-mpi/ompi@8e25733760bccdad434450831f248069191104a5. Signed-off-by: Gilles Gouaillardet --- config/opal_configure_options.m4 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/config/opal_configure_options.m4 b/config/opal_configure_options.m4 index 26fe653396..c7f6e7b428 100644 --- a/config/opal_configure_options.m4 +++ b/config/opal_configure_options.m4 @@ -286,7 +286,22 @@ fi AC_DEFINE_UNQUOTED(OPAL_ENABLE_DLOPEN_SUPPORT, $OPAL_ENABLE_DLOPEN_SUPPORT, [Whether we want to enable dlopen support]) -opal_want_heterogeneous=0 +# +# Heterogeneous support +# + +AC_MSG_CHECKING([if want heterogeneous support]) +AC_ARG_ENABLE([heterogeneous], + [AC_HELP_STRING([--enable-heterogeneous], + [Enable features required for heterogeneous + platform support (default: disabled)])]) +if test "$enable_heterogeneous" = "yes" ; then + AC_MSG_RESULT([yes]) + opal_want_heterogeneous=1 +else + AC_MSG_RESULT([no]) + opal_want_heterogeneous=0 +fi AC_DEFINE_UNQUOTED([OPAL_ENABLE_HETEROGENEOUS_SUPPORT], [$opal_want_heterogeneous], [Enable features required for heterogeneous support])