From 1cd0139cf2fe71404ee5fa0ab6de197567a2c5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 15 Aug 2018 09:21:30 +0200 Subject: [PATCH] - Explicitly set the target to generic on s390x to avoid surprises (#1615760) --- openblas.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/openblas.spec b/openblas.spec index 004fae6..71390eb 100644 --- a/openblas.spec +++ b/openblas.spec @@ -15,7 +15,7 @@ Name: openblas Version: 0.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An optimized BLAS library based on GotoBLAS2 Group: Development/Libraries License: BSD @@ -387,6 +387,9 @@ TARGET="TARGET=POWER8 DYNAMIC_ARCH=0" %ifarch aarch64 TARGET="TARGET=ARMV8 DYNAMIC_ARCH=0" %endif +%ifarch s390x +TARGET="TARGET=ZARCH_GENERIC DYNAMIC_ARCH=0" +%endif %if 0%{?rhel} == 5 # Gfortran too old to recognize -frecursive @@ -458,7 +461,7 @@ suffix="_power8" suffix="_armv8" %endif %ifarch s390x -suffix="_z13" +suffix="_zarch_generic" %endif slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a @@ -685,6 +688,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %endif %changelog +* Wed Aug 15 2018 Dan HorĂ¡k - 0.3.2-2 +- Explicitly set the target to generic on s390x to avoid surprises (#1615760) + * Thu Aug 02 2018 Susi Lehtola - 0.3.2-1 - Update to 0.3.2.