- Fix precision in generic target on s390x
This commit is contained in:
parent
56e91ff6be
commit
1aae703b57
24
openblas-0.3.2-zarch.patch
Normal file
24
openblas-0.3.2-zarch.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From f3fd44a731c1997b1d79d4d16abc25d78dce88a7 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
|
||||
Date: Tue, 28 Aug 2018 21:34:07 +0200
|
||||
Subject: [PATCH] Set USE_TRMM for all ZARCH variants to fix TRMM faults with
|
||||
zarch-generic
|
||||
|
||||
fixes #1743
|
||||
---
|
||||
kernel/Makefile.L3 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3
|
||||
index b37e536ef..9258f216d 100644
|
||||
--- a/kernel/Makefile.L3
|
||||
+++ b/kernel/Makefile.L3
|
||||
@@ -44,7 +44,7 @@ ifeq ($(CORE), POWER8)
|
||||
USE_TRMM = 1
|
||||
endif
|
||||
|
||||
-ifeq ($(CORE), Z13)
|
||||
+ifeq ($(ARCH), zarch)
|
||||
USE_TRMM = 1
|
||||
endif
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
Name: openblas
|
||||
Version: 0.3.2
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: An optimized BLAS library based on GotoBLAS2
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
@ -31,6 +31,8 @@ Patch2: openblas-0.2.15-constructor.patch
|
||||
Patch3: openblas-0.3.2-tests.patch
|
||||
# Crude hack to avoid problems with threading code (see https://github.com/xianyi/OpenBLAS/issues/1735)
|
||||
Patch4: openblas-0.3.2-threads.patch
|
||||
# https://github.com/xianyi/OpenBLAS/commit/e11126b26ada8d97b4a522e461ca92311653bfc6
|
||||
Patch5: openblas-0.3.2-zarch.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-gfortran
|
||||
@ -253,6 +255,7 @@ cd OpenBLAS-%{version}
|
||||
%endif
|
||||
%patch3 -p1 -b .tests
|
||||
%patch4 -p1 -b .threads
|
||||
%patch5 -p1 -b .zarch
|
||||
|
||||
# Fix source permissions
|
||||
find -name \*.f -exec chmod 644 {} \;
|
||||
@ -692,6 +695,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Aug 29 2018 Dan Horák <dan[at]danny.cz> - 0.3.2-5
|
||||
- Fix precision in generic target on s390x
|
||||
|
||||
* Fri Aug 24 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-4
|
||||
- Patch to avoid threading issues.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user