diff --git a/openblas.changes b/openblas.changes index fdfcbd1..b0a07ad 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 24 10:45:45 UTC 2020 - Egbert Eich + +- For s390/s390x add TARGET=ZARCH_GENERIC (jsc#SLE-13773). + ------------------------------------------------------------------- Wed Aug 12 02:36:15 UTC 2020 - Bernhard Wiedemann diff --git a/openblas.spec b/openblas.spec index 9420de8..5ae288b 100644 --- a/openblas.spec +++ b/openblas.spec @@ -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'?