Dominique Leuenberger 2020-09-29 16:59:09 +00:00 committed by Git OBS Bridge
commit 2dff025f9f
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'?