Accepting request 837203 from home:eeich:branches:science

- For s390/s390x add TARGET=ZARCH_GENERIC (jsc#SLE-13773).

OBS-URL: https://build.opensuse.org/request/show/837203
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=98
This commit is contained in:
Ismail Dönmez 2020-09-25 08:36:13 +00:00 committed by Git OBS Bridge
parent f391c4cf63
commit b8f59c01fc
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 24 10:45:45 UTC 2020 - Egbert Eich <eich@suse.com>
- For s390/s390x add TARGET=ZARCH_GENERIC (jsc#SLE-13773).
-------------------------------------------------------------------
Wed Aug 12 02:36:15 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -299,12 +299,15 @@ cp %{SOURCE2} .
%define openblas_target TARGET=CORE2 DYNAMIC_ARCH=1
%endif
%ifarch aarch64
%if !(0%{?suse_version} > 1500)
%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
%define openblas_target TARGET=ARMV8
%else
%define openblas_target DYNAMIC_ARCH=1
%ifarch s390 s390x
%define openblas_target %openblas_target TARGET=ZARCH_GENERIC
%endif
%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'?