diff --git a/mvapich2-arm-support.patch b/mvapich2-arm-support.patch index 6dcbc82..f756907 100644 --- a/mvapich2-arm-support.patch +++ b/mvapich2-arm-support.patch @@ -6,7 +6,7 @@ index ac117c2..335d07f 100644 asm volatile ("mov %0=ar.itc" : "=r" (ret)); return ret; } -+#elif defined(__ARM_ARCH_7A__) ++#elif defined(__ARM_ARCH_7A__) || defined(__arm__) +typedef unsigned long long cycles_t; +static inline cycles_t get_cycles(void) +{ diff --git a/mvapich2.changes b/mvapich2.changes index 870fc83..4bdc91a 100644 --- a/mvapich2.changes +++ b/mvapich2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Mar 25 13:07:18 UTC 2018 - kasimir_@outlook.de + +- Change mvapich2-arm-support.patch to provide missing functions for + armv6hl + ------------------------------------------------------------------- Fri Feb 9 11:29:26 UTC 2018 - cgoll@suse.com diff --git a/mvapich2.spec b/mvapich2.spec index 98a5c28..ca05681 100644 --- a/mvapich2.spec +++ b/mvapich2.spec @@ -165,7 +165,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: automake BuildRequires: bison -%ifnarch s390 s390x armv7hl +%ifnarch s390 s390x %{arm} BuildRequires: libnuma-devel %endif BuildRequires: libtool