From fc3e45ee5c96eb3ceebef7b240b8f9cd083da998 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 29 Jan 2013 14:13:55 +0000 Subject: [PATCH] Minimalistic patch to ARM support, as suggested by Leif. Note that this patch has already gone into the v1.6 branch. Leif would like to revamp the ARM support in a different way, and will submit a patch to do so in the future. This commit was SVN r27961. --- config/opal_config_asm.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/opal_config_asm.m4 b/config/opal_config_asm.m4 index eab640f9c4..465c26d5a9 100644 --- a/config/opal_config_asm.m4 +++ b/config/opal_config_asm.m4 @@ -820,6 +820,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ ompi_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=0 OPAL_ASM_ARM_VERSION=6 + CCASFLAGS="$CCASFLAGS -march=armv7-a" AC_DEFINE_UNQUOTED([OPAL_ASM_ARM_VERSION], [$OPAL_ASM_ARM_VERSION], [What ARM assembly version to use]) OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' @@ -830,6 +831,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ ompi_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=0 OPAL_ASM_ARM_VERSION=5 + CCASFLAGS="$CCASFLAGS -march=armv7-a" AC_DEFINE_UNQUOTED([OPAL_ASM_ARM_VERSION], [$OPAL_ASM_ARM_VERSION], [What ARM assembly version to use]) OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'