- Add fix-lapack-testing.patch to fix tests

gh#Reference-LAPACK/lapack@5b0687f429cf

OBS-URL: https://build.opensuse.org/package/show/science/lapack?expand=0&rev=50
This commit is contained in:
Atri Bhattacharya 2024-07-04 14:48:21 +00:00 committed by Git OBS Bridge
parent faf5de9e25
commit 1fe15145da
3 changed files with 21 additions and 0 deletions

13
fix-lapack-testing.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/lapack_testing.py b/lapack_testing.py
index ae59926b88..96fbeb2a68 100755
--- a/lapack_testing.py
+++ b/lapack_testing.py
@@ -136,7 +136,7 @@ def run_summary_test( f, cmdline, short_summary):
for line in pipe.readlines():
f.write(str(line))
words_in_line=line.split()
- if (line.find("run")!=-1):
+ if (line.find("run)")!=-1):
# print line
whereisrun=words_in_line.index("run)")
nb_test_run+=int(words_in_line[whereisrun-2])

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 4 11:54:08 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add fix-lapack-testing.patch to fix tests
gh#Reference-LAPACK/lapack@5b0687f429cf
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 14 03:09:33 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com> Fri Jun 14 03:09:33 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -44,6 +44,8 @@ Summary: Linear Algebra PACKage
License: BSD-3-Clause License: BSD-3-Clause
URL: https://www.netlib.org/lapack/ URL: https://www.netlib.org/lapack/
Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{version}.tar.gz#/%{pname}-%{version}.tar.gz Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{version}.tar.gz#/%{pname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-lapack-testing.patch gh#Reference-LAPACK/lapack@5b0687f429cf
Patch1: fix-lapack-testing.patch
Source98: lapack.rpmlintrc Source98: lapack.rpmlintrc
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: cmake BuildRequires: cmake