commit arm patch

This commit is contained in:
Peter Robinson 2012-04-03 14:14:48 +01:00
parent e84526fa2a
commit cb941ef23f
2 changed files with 17 additions and 0 deletions

16
configure_arm_fix.patch Normal file
View File

@ -0,0 +1,16 @@
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
Index: openmpi-1.5.4/configure
===================================================================
--- openmpi-1.5.4.orig/configure 2011-08-18 16:49:03.000000000 +0300
+++ openmpi-1.5.4/configure 2012-01-20 18:12:48.959184193 +0200
@@ -26943,7 +26943,7 @@
OMPI_GCC_INLINE_ASSIGN='"bis $31,$31,%0" : "=&r"(ret)'
;;
- armv7*)
+ arm*)
ompi_cv_asm_arch="ARM"
OPAL_ASM_SUPPORT_64BIT=1
OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'

View File

@ -116,6 +116,7 @@ Contains development headers and libraries for openmpi
%prep %prep
%setup -q -n openmpi-%{version} %setup -q -n openmpi-%{version}
%patch0 -p1 -b .removed %patch0 -p1 -b .removed
%patch1 -p1 -b .arm
# Make sure we don't use the local libltdl library # Make sure we don't use the local libltdl library
rm -r opal/libltdl rm -r opal/libltdl