Upgrade verison to 0.3.25
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
fbc96c9a40
commit
662d1e09d2
@ -1,27 +0,0 @@
|
||||
From b13db2656d6e983a77b3d203b4af51ba15f2f815 Mon Sep 17 00:00:00 2001
|
||||
From: zhaozhen <zhaozhen@loongson.cn>
|
||||
Date: Thu, 9 Mar 2023 11:50:01 +0000
|
||||
Subject: [PATCH] modify the ABI for loongarch64
|
||||
|
||||
---
|
||||
Makefile.system | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.system b/Makefile.system
|
||||
index bada954..ade9b18 100644
|
||||
--- a/Makefile.system
|
||||
+++ b/Makefile.system
|
||||
@@ -896,8 +896,8 @@ BINARY_DEFINED = 1
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH), loongarch64)
|
||||
-CCOMMON_OPT += -march=loongarch64 -mabi=lp64
|
||||
-FCOMMON_OPT += -march=loongarch64 -mabi=lp64
|
||||
+CCOMMON_OPT += -march=loongarch64 -mabi=lp64d
|
||||
+FCOMMON_OPT += -march=loongarch64 -mabi=lp64d
|
||||
endif
|
||||
|
||||
endif
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@ -1,55 +0,0 @@
|
||||
Fixing FTBFS on power:
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=2120974
|
||||
|
||||
Upstream issue: https://github.com/xianyi/OpenBLAS/issues/3738
|
||||
Upstream fix: https://github.com/xianyi/OpenBLAS/pull/3718
|
||||
|
||||
commit d9dc015cfc78fc32f555995a89d6957ef0184ea2
|
||||
Author: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
|
||||
Date: Mon Aug 8 14:52:10 2022 +0200
|
||||
|
||||
Use blasint for INTERFACE64 compatibility
|
||||
|
||||
diff --git a/test/compare_sgemm_sbgemm.c b/test/compare_sgemm_sbgemm.c
|
||||
index a2c358cf..d4b59145 100644
|
||||
--- a/test/compare_sgemm_sbgemm.c
|
||||
+++ b/test/compare_sgemm_sbgemm.c
|
||||
@@ -76,9 +76,9 @@ float16to32 (bfloat16_bits f16)
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
- int m, n, k;
|
||||
+ blasint m, n, k;
|
||||
int i, j, l;
|
||||
- int x;
|
||||
+ blasint x;
|
||||
int ret = 0;
|
||||
int loop = 100;
|
||||
char transA = 'N', transB = 'N';
|
||||
|
||||
commit 3d338b57de1837f1e2264a1262a9ee9203f31c6c
|
||||
Author: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
|
||||
Date: Mon Aug 8 17:09:45 2022 +0200
|
||||
|
||||
remove spurious loops
|
||||
|
||||
diff --git a/test/compare_sgemm_sbgemm.c b/test/compare_sgemm_sbgemm.c
|
||||
index d4b59145..276fecae 100644
|
||||
--- a/test/compare_sgemm_sbgemm.c
|
||||
+++ b/test/compare_sgemm_sbgemm.c
|
||||
@@ -112,7 +112,6 @@ main (int argc, char *argv[])
|
||||
&m, BB, &k, &beta, CC, &m);
|
||||
for (i = 0; i < n; i++)
|
||||
for (j = 0; j < m; j++)
|
||||
- for (l = 0; l < k; l++)
|
||||
if (fabs (CC[i * m + j] - C[i * m + j]) > 1.0)
|
||||
ret++;
|
||||
if (transA == 'N' && transB == 'N')
|
||||
@@ -126,7 +125,6 @@ main (int argc, char *argv[])
|
||||
}
|
||||
for (i = 0; i < n; i++)
|
||||
for (j = 0; j < m; j++)
|
||||
- for (l = 0; l < k; l++)
|
||||
if (CC[i * m + j] != DD[i * m + j])
|
||||
ret++;
|
||||
}
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
%bcond_with system_lapack
|
||||
|
||||
Name: openblas
|
||||
Version: 0.3.21
|
||||
Version: 0.3.25
|
||||
Release: 1
|
||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||
License: BSD-3-Clause
|
||||
@ -10,8 +10,6 @@ Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}/openblas-
|
||||
Patch0000: openblas-0.2.15-system_lapack.patch
|
||||
Patch0001: openblas-0.2.5-libname.patch
|
||||
Patch0002: openblas-0.3.11-tests.patch
|
||||
Patch0003: 0001-modify-the-ABI-for-loongarch.patch
|
||||
Patch0004: openblas-0.3.21-sbgemm-test.patch
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
BuildRequires: gcc gcc-gfortran perl-devel gcc-c++
|
||||
|
||||
@ -59,8 +57,6 @@ cd OpenBLAS-%{version}
|
||||
%endif
|
||||
%patch0001 -p1 -b .libname
|
||||
%patch0002 -p1 -b .tests
|
||||
%patch0003 -p1
|
||||
%patch0004 -p1 -b .sbgemm
|
||||
|
||||
# Set source permissions
|
||||
find -name \*.f -exec chmod 644 {} \;
|
||||
@ -369,6 +365,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
%{_libdir}/lib%{name}*64_.so
|
||||
|
||||
%changelog
|
||||
* Mon Jan 08 2024 xu_ping <707078654@qq.com> - 0.3.25-1
|
||||
- Update to 0.3.25
|
||||
|
||||
* Thu Aug 24 2023 yaoxin <yao_xin001@hoperun.com> - 0.3.21-1
|
||||
- Update to 0.3.21
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user