From 3e9a91f64ddb6dc897cd64e89f217f5db09a575c Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 29 Oct 2023 11:57:10 -0600 Subject: [PATCH] Error out of attempts for 32-bit builds PRRTE doesn't support 32-bit environments - for one thing, it would require a 32-bit PMIx, and PMIx doesn't support such environments either. So error out of configure in such cases. Signed-off-by: Ralph Castain --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 7a25a4a8a4..82111fa7bb 100644 --- a/configure.ac +++ b/configure.ac @@ -336,6 +336,9 @@ AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long long) AC_CHECK_SIZEOF(void *) +AS_IF([test "$ac_cv_sizeof_void_p" -eq 4], + [AC_MSG_WARN([PRRTE does not support 32 bit builds.]) + AC_MSG_ERROR([Cannot continue])]) AC_CHECK_SIZEOF(size_t) #