From 9087f49e9c1a59e182fd25638303682fa9996df07bbb2eaaaff138c17c585d7e Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Mon, 26 Mar 2018 14:24:11 +0000 Subject: [PATCH] Accepting request 590919 from home:kasimir:ToTest - Change mvapich2-arm-support.patch to provide missing functions for armv6hl OBS-URL: https://build.opensuse.org/request/show/590919 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=37 --- mvapich2-arm-support.patch | 2 +- mvapich2.changes | 6 ++++++ mvapich2.spec | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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