From 299a6f8d7ca97dec64a0b94f5a4ce5f4fd5c82bd Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Tue, 6 Dec 2016 09:05:44 +0900 Subject: [PATCH] configury: auto-detect armhf and armel architectures on Debian Thanks Alastair McKinstry for the patch Fixes open-mpi/ompi#2514 Signed-off-by: Gilles Gouaillardet --- config/opal_config_asm.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/opal_config_asm.m4 b/config/opal_config_asm.m4 index 38b3628cb1..e8bd193cd9 100644 --- a/config/opal_config_asm.m4 +++ b/config/opal_config_asm.m4 @@ -1033,7 +1033,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' ;; - armv7*) + armv7*|arm-*-linux-gnueabihf) opal_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=1 OPAL_ASM_ARM_VERSION=7 @@ -1052,7 +1052,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' ;; - armv5*linux*|armv4*linux*) + armv5*linux*|armv4*linux*|arm-*-linux-gnueabi) # uses Linux kernel helpers for some atomic operations opal_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=0