From a70faf2d201e6365150cc4d92307511e319899c0648a10af01cc307c12f1524c Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Tue, 12 Mar 2019 17:39:07 +0000 Subject: [PATCH] Accepting request 684134 from home:StefanBruens:branches:science - Reduce _constraints to a reasonable size, the old constraints were probably necessary pre multibuild. - Enable DYNAMIC_ARCH for aarch64, available since 0.3.4 OBS-URL: https://build.opensuse.org/request/show/684134 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=77 --- _constraints | 4 ++-- openblas.changes | 7 +++++++ openblas.spec | 8 ++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/_constraints b/_constraints index bd77583..768bb9f 100644 --- a/_constraints +++ b/_constraints @@ -1,10 +1,10 @@ - 20 + 8 - 8000 + 4000 diff --git a/openblas.changes b/openblas.changes index 79a0cd3..35acf97 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 10 06:06:05 UTC 2019 - Stefan BrĂ¼ns + +- Reduce _constraints to a reasonable size, the old constraints + were probably necessary pre multibuild. +- Enable DYNAMIC_ARCH for aarch64, available since 0.3.4 + ------------------------------------------------------------------- Thu Feb 14 18:22:49 UTC 2019 - Egbert Eich diff --git a/openblas.spec b/openblas.spec index 54cacb0..f1ed511 100644 --- a/openblas.spec +++ b/openblas.spec @@ -257,13 +257,17 @@ cp %{SOURCE2} . %hpc_setup_compiler %endif -# Only x86/x86-64 CPUs support DYNAMIC_ARCH +# Only x86/x86-64/ARMv8 CPUs support DYNAMIC_ARCH %ifarch %ix86 x86_64 %define openblas_target DYNAMIC_ARCH=1 %endif -# Temporary fix, OpenBLAS does not autodetect aarch64 %ifarch aarch64 +%if !(0%{?suse_version} > 1500) +# Temporary fix, SLE/Leap15.x compiler segfaults for -mtune=cortex-a57 with kernel/arm/axpby.c (boo#1128794) %define openblas_target TARGET=ARMV8 +%else +%define openblas_target DYNAMIC_ARCH=1 +%endif %endif # force -mvsx for ppc64 to avoid build failure: # ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'?