[Pkg-openmpi-commits] r369 - /openmpi/trunk/debian/patches/x32.patch
mckinstry at users.alioth.debian.org
mckinstry at users.alioth.debian.org
Wed Feb 10 13:53:21 UTC 2016
Author: mckinstry
Date: Wed Feb 10 13:53:20 2016
New Revision: 369
URL: http://svn.debian.org/wsvn/pkg-openmpi/?sc=1&rev=369
Log:
x32 patch from Adam Borowski
Added:
openmpi/trunk/debian/patches/x32.patch
Added: openmpi/trunk/debian/patches/x32.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/x32.patch?rev=369&op=file
==============================================================================
--- openmpi/trunk/debian/patches/x32.patch (added)
+++ openmpi/trunk/debian/patches/x32.patch Wed Feb 10 13:53:20 2016
@@ -0,0 +1,21 @@
+Author: Adam Borowski <kilobyte at angband.pl>
+Description: x2 support for openmpi-1.10.2
+Origin-Bug: https://bugs.debian.org/814332
+Forwarded: no
+Last-Updated: 2016-02-10
+
+--- openmpi-1.10.2.orig/config/opal_config_asm.m4
++++ openmpi-1.10.2/config/opal_config_asm.m4
+@@ -795,6 +795,11 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
+ OMPI_GCC_INLINE_ASSIGN=""
+ OPAL_ASM_SUPPORT_64BIT=0
+ case "${host}" in
++ x86_64-*x32)
++ ompi_cv_asm_arch="AMD64"
++ OPAL_ASM_SUPPORT_64BIT=1
++ OMPI_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone) : "m"(ret)'
++ ;;
+ i?86-*|x86_64*)
+ if test "$ac_cv_sizeof_long" = "4" ; then
+ ompi_cv_asm_arch="IA32"
+
More information about the Pkg-openmpi-commits
mailing list