summarylogtreecommitdiffstats
path: root/0008-Force-32-bit-build.patch
diff options
context:
space:
mode:
Diffstat (limited to '0008-Force-32-bit-build.patch')
-rw-r--r--0008-Force-32-bit-build.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0008-Force-32-bit-build.patch b/0008-Force-32-bit-build.patch
new file mode 100644
index 000000000000..0662b1b1b230
--- /dev/null
+++ b/0008-Force-32-bit-build.patch
@@ -0,0 +1,17 @@
+--- a/configure
++++ b/configure
+@@ -16780,14 +16780,6 @@
+ printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
+
+
+-if test "$ac_cv_sizeof_void_p" -eq 4
+-then :
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Open MPI no longer supports 32 bit builds." >&5
+-printf "%s\n" "$as_me: WARNING: Open MPI no longer supports 32 bit builds." >&2;}
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Please use Open MPI v4.x or earlier if you need 32 bit support." >&5
+-printf "%s\n" "$as_me: WARNING: Please use Open MPI v4.x or earlier if you need 32 bit support." >&2;}
+- as_fn_error $? "Cannot continue" "$LINENO" 5
+-fi
+ # The cast to long int works around a bug in the HP C Compiler
+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.