Fix typo in s390x code.
This commit is contained in:
parent
3358058639
commit
7dd89ce67c
22
openblas-0.3.8-zarch.patch
Normal file
22
openblas-0.3.8-zarch.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From dff173e50e01d94e0741e4b4eaa1cf0aa01cf320 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Susi Lehtola <susi.lehtola@alumni.helsinki.fi>
|
||||||
|
Date: Tue, 11 Feb 2020 14:46:30 +1300
|
||||||
|
Subject: [PATCH] Fix typo in dynamic_zarch.c
|
||||||
|
|
||||||
|
---
|
||||||
|
driver/others/dynamic_zarch.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/driver/others/dynamic_zarch.c b/driver/others/dynamic_zarch.c
|
||||||
|
index 1206bf870..896e65bb4 100644
|
||||||
|
--- a/driver/others/dynamic_zarch.c
|
||||||
|
+++ b/driver/others/dynamic_zarch.c
|
||||||
|
@@ -31,7 +31,7 @@ char* gotoblas_corename(void) {
|
||||||
|
}
|
||||||
|
|
||||||
|
// __builtin_cpu_is is not supported by zarch
|
||||||
|
-static gotolabs_t* get_coretype(void) {
|
||||||
|
+static gotoblas_t* get_coretype(void) {
|
||||||
|
FILE* infile;
|
||||||
|
char buffer[512], * p;
|
||||||
|
|
@ -29,6 +29,9 @@ Patch2: openblas-0.2.15-constructor.patch
|
|||||||
# Supply the proper flags to the test makefile
|
# Supply the proper flags to the test makefile
|
||||||
Patch3: openblas-0.3.7-tests.patch
|
Patch3: openblas-0.3.7-tests.patch
|
||||||
|
|
||||||
|
# https://patch-diff.githubusercontent.com/raw/xianyi/OpenBLAS/pull/2405.patch
|
||||||
|
Patch4: openblas-0.3.8-zarch.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
@ -241,6 +244,7 @@ cd OpenBLAS-%{version}
|
|||||||
%patch2 -p1 -b .constructor
|
%patch2 -p1 -b .constructor
|
||||||
%endif
|
%endif
|
||||||
%patch3 -p1 -b .tests
|
%patch3 -p1 -b .tests
|
||||||
|
%patch4 -p1 -b .zarch
|
||||||
|
|
||||||
# Fix source permissions
|
# Fix source permissions
|
||||||
find -name \*.f -exec chmod 644 {} \;
|
find -name \*.f -exec chmod 644 {} \;
|
||||||
|
Loading…
Reference in New Issue
Block a user