From cb941ef23fc546c597038c88199951ede9eddbf5 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 3 Apr 2012 14:14:48 +0100 Subject: [PATCH] commit arm patch --- configure_arm_fix.patch | 16 ++++++++++++++++ openmpi.spec | 1 + 2 files changed, 17 insertions(+) create mode 100644 configure_arm_fix.patch diff --git a/configure_arm_fix.patch b/configure_arm_fix.patch new file mode 100644 index 0000000..c6c67f3 --- /dev/null +++ b/configure_arm_fix.patch @@ -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)' diff --git a/openmpi.spec b/openmpi.spec index e289f12..58a46bb 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -116,6 +116,7 @@ Contains development headers and libraries for openmpi %prep %setup -q -n openmpi-%{version} %patch0 -p1 -b .removed +%patch1 -p1 -b .arm # Make sure we don't use the local libltdl library rm -r opal/libltdl