Dominique Leuenberger 2019-03-14 13:51:02 +00:00 committed by Git OBS Bridge
commit 6498dee33a
3 changed files with 15 additions and 4 deletions

View File

@ -1,10 +1,10 @@
<constraints>
<hardware>
<disk>
<size unit="G">20</size>
<size unit="G">8</size>
</disk>
<memory>
<size unit="M">8000</size>
<size unit="M">4000</size>
</memory>
</hardware>
</constraints>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 10 06:06:05 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 <eich@suse.com>

View File

@ -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'?