From 14cdcee7f11684b08f61ca502555e6ff44e1b3c4 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 9 Mar 2021 09:36:04 -0800 Subject: [PATCH 1/2] configure.ac: remove some old Windows kruft This code has not been used in forever, so go ahead and remove it. Signed-off-by: Jeff Squyres --- configure.ac | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure.ac b/configure.ac index 45417fc2b64..f99423dfd25 100644 --- a/configure.ac +++ b/configure.ac @@ -384,11 +384,6 @@ opal_show_title "Compiler and preprocessor tests" OPAL_SETUP_CC -# If we build on a windows environment with the windows compiler and linker -# then we need some translation functions from the opal/win32 directory. -AM_CONDITIONAL(OMPI_NEED_WINDOWS_REPLACEMENTS, - test "$opal_cv_c_compiler_vendor" = "microsoft" ) - # Do all Interix detections if necessary OMPI_INTERIX From 6a56a1ce688eb6f763e08b469855b28e618a5378 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 9 Mar 2021 09:36:19 -0800 Subject: [PATCH 2/2] configure.ac: refuse to build on 32 bit platforms So long and thanks for all the fish, 32 bits! Signed-off-by: Jeff Squyres --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f99423dfd25..a94f70bb6a5 100644 --- a/configure.ac +++ b/configure.ac @@ -384,6 +384,15 @@ opal_show_title "Compiler and preprocessor tests" OPAL_SETUP_CC +# Open MPI no longer supports 32 bit builds +AC_CHECK_SIZEOF(void *) +AC_MSG_CHECKING([if build environment is 32 bit]) +AS_IF([test "$ac_cv_sizeof_void_p" = "4"], + [AC_MSG_RESULT([yes]) + AC_MSG_WARN([Sorry, this version of Open MPI does not support building on 32-bit platforms.]) + AC_MSG_ERROR([Cannot continue])]) +AC_MSG_RESULT([no (good)]) + # Do all Interix detections if necessary OMPI_INTERIX @@ -476,7 +485,6 @@ AC_CHECK_SIZEOF(float _Complex) AC_CHECK_SIZEOF(double _Complex) AC_CHECK_SIZEOF(long double _Complex) -AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(size_t) if test "$ac_cv_type_ssize_t" = yes ; then AC_CHECK_SIZEOF(ssize_t)