2 Commits

Author SHA256 Message Date
0881dff747 Accepting request 1283891 from science
OBS-URL: https://build.opensuse.org/request/show/1283891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=61
2025-06-10 06:56:20 +00:00
8255b49ebd * Update to version 3.12.1.
* Drop fix-lapack-testing.patch: upstreamed (commit 5b0687f).
* Add upstream commits to fix build when enabling deprecated mods: lapack-deprecated-lwork-use.patch.  lapack-depcrecated-consistent-line-reflow-1.patch.  lapack-depcrecated-consistent-line-reflow-2.patch.
* Add lapack-update-patch-version.patch to update patch version in source files.

OBS-URL: https://build.opensuse.org/package/show/science/lapack?expand=0&rev=55
2025-06-07 23:26:43 +00:00
9 changed files with 542 additions and 22 deletions

View File

@@ -1,13 +0,0 @@
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])

BIN
lapack-3.12.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
lapack-3.12.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ca6407a001a474d4d4d35f3a61550156050c48016d949f0da0529c0aa052422
size 8067087

View File

@@ -0,0 +1,35 @@
From 3aa877584bcc96e1a0ee37742628946c56afc15f Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 10 Jan 2025 13:05:28 -0600
Subject: [PATCH] dlahrd.f: consistent line reflow for DTRMV calls
---
SRC/DEPRECATED/dlahrd.f | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/SRC/DEPRECATED/dlahrd.f b/SRC/DEPRECATED/dlahrd.f
index 2f86da73c..438ad8bda 100644
--- a/SRC/DEPRECATED/dlahrd.f
+++ b/SRC/DEPRECATED/dlahrd.f
@@ -231,8 +231,8 @@ SUBROUTINE DLAHRD( N, K, NB, A, LDA, TAU, T, LDT, Y, LDY )
*
* w := T**T *w
*
- CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1, T, LDT,
- $ T( 1, NB ), 1 )
+ CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1,
+ $ T, LDT, T( 1, NB ), 1 )
*
* b2 := b2 - V2*w
*
@@ -270,8 +270,8 @@ SUBROUTINE DLAHRD( N, K, NB, A, LDA, TAU, T, LDT, Y, LDY )
* Compute T(1:i,i)
*
CALL DSCAL( I-1, -TAU( I ), T( 1, I ), 1 )
- CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1, T, LDT,
- $ T( 1, I ), 1 )
+ CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1,
+ $ T, LDT, T( 1, I ), 1 )
T( I, I ) = TAU( I )
*
10 CONTINUE

View File

@@ -0,0 +1,74 @@
From 304fa305e85190c934e78eae75c7b092fcfd54c1 Mon Sep 17 00:00:00 2001
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Sun, 19 Jan 2025 22:55:52 +0100
Subject: [PATCH 1/3] Fix line reflow on addition of _64 symbol suffixes
---
SRC/DEPRECATED/cgelsx.f | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SRC/DEPRECATED/cgelsx.f b/SRC/DEPRECATED/cgelsx.f
index b55fe1565..7281a0668 100644
--- a/SRC/DEPRECATED/cgelsx.f
+++ b/SRC/DEPRECATED/cgelsx.f
@@ -364,8 +364,8 @@ SUBROUTINE CGELSX( M, N, NRHS, A, LDA, B, LDB, JPVT, RCOND,
*
* B(1:M,1:NRHS) := Q**H * B(1:M,1:NRHS)
*
- CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A, LDA,
- $ WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO )
+ CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A,
+ $ LDA, WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO )
*
* workspace NRHS
*
From bc0c38f247f90f815a93f6ca0829004120745da4 Mon Sep 17 00:00:00 2001
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Sun, 19 Jan 2025 22:58:19 +0100
Subject: [PATCH 2/3] Fix line reflow on addition of _64 symbol suffix
---
SRC/DEPRECATED/dgeqpf.f | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SRC/DEPRECATED/dgeqpf.f b/SRC/DEPRECATED/dgeqpf.f
index 36f6fb50e..067da29d0 100644
--- a/SRC/DEPRECATED/dgeqpf.f
+++ b/SRC/DEPRECATED/dgeqpf.f
@@ -218,8 +218,8 @@ SUBROUTINE DGEQPF( M, N, A, LDA, JPVT, TAU, WORK, INFO )
MA = MIN( ITEMP, M )
CALL DGEQR2( M, MA, A, LDA, TAU, WORK, INFO )
IF( MA.LT.N ) THEN
- CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU,
- $ A( 1, MA+1 ), LDA, WORK, INFO )
+ CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA,
+ $ TAU, A( 1, MA+1 ), LDA, WORK, INFO )
END IF
END IF
*
From 3c209c6bdf524869d18d00119aeae4962740c3b3 Mon Sep 17 00:00:00 2001
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Sun, 19 Jan 2025 22:59:21 +0100
Subject: [PATCH 3/3] Fix line reflow on addition of _64 symbol suffix
---
SRC/DEPRECATED/sgeqpf.f | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SRC/DEPRECATED/sgeqpf.f b/SRC/DEPRECATED/sgeqpf.f
index 7963bd8e7..f74a084a0 100644
--- a/SRC/DEPRECATED/sgeqpf.f
+++ b/SRC/DEPRECATED/sgeqpf.f
@@ -218,8 +218,8 @@ SUBROUTINE SGEQPF( M, N, A, LDA, JPVT, TAU, WORK, INFO )
MA = MIN( ITEMP, M )
CALL SGEQR2( M, MA, A, LDA, TAU, WORK, INFO )
IF( MA.LT.N ) THEN
- CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU,
- $ A( 1, MA+1 ), LDA, WORK, INFO )
+ CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA,
+ $ TAU, A( 1, MA+1 ), LDA, WORK, INFO )
END IF
END IF
*

View File

@@ -0,0 +1,192 @@
From f5103fc3b42fcff40e70b1fa4b5567df01dae9bc Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 10 Jan 2025 14:32:30 -0600
Subject: [PATCH] ?ge(lq|qr)s.f: WORK( LWORK ) -> WORK( * )
---
SRC/DEPRECATED/cgelqs.f | 4 ++--
SRC/DEPRECATED/cgeqrs.f | 4 ++--
SRC/DEPRECATED/dgelqs.f | 4 ++--
SRC/DEPRECATED/dgeqrs.f | 4 ++--
SRC/DEPRECATED/sgelqs.f | 4 ++--
SRC/DEPRECATED/sgeqrs.f | 4 ++--
SRC/DEPRECATED/zgelqs.f | 4 ++--
SRC/DEPRECATED/zgeqrs.f | 4 ++--
8 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/SRC/DEPRECATED/cgelqs.f b/SRC/DEPRECATED/cgelqs.f
index 47e17a5830..aba3632a74 100644
--- a/SRC/DEPRECATED/cgelqs.f
+++ b/SRC/DEPRECATED/cgelqs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE CGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/cgeqrs.f b/SRC/DEPRECATED/cgeqrs.f
index 13ac7f74fd..9d0527283d 100644
--- a/SRC/DEPRECATED/cgeqrs.f
+++ b/SRC/DEPRECATED/cgeqrs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE CGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
COMPLEX A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/dgelqs.f b/SRC/DEPRECATED/dgelqs.f
index dc08f2398b..1bab678901 100644
--- a/SRC/DEPRECATED/dgelqs.f
+++ b/SRC/DEPRECATED/dgelqs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE DGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/dgeqrs.f b/SRC/DEPRECATED/dgeqrs.f
index bfb7bd8bb8..e3e6c4048e 100644
--- a/SRC/DEPRECATED/dgeqrs.f
+++ b/SRC/DEPRECATED/dgeqrs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE DGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
DOUBLE PRECISION A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/sgelqs.f b/SRC/DEPRECATED/sgelqs.f
index 330d4d5850..2b1dd44b71 100644
--- a/SRC/DEPRECATED/sgelqs.f
+++ b/SRC/DEPRECATED/sgelqs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* REAL A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE SGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
REAL A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/sgeqrs.f b/SRC/DEPRECATED/sgeqrs.f
index ed11489104..bdbad5dcb4 100644
--- a/SRC/DEPRECATED/sgeqrs.f
+++ b/SRC/DEPRECATED/sgeqrs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* REAL A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE SGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
REAL A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/zgelqs.f b/SRC/DEPRECATED/zgelqs.f
index 5f629f8c7e..772165dfd9 100644
--- a/SRC/DEPRECATED/zgelqs.f
+++ b/SRC/DEPRECATED/zgelqs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE ZGELQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================
diff --git a/SRC/DEPRECATED/zgeqrs.f b/SRC/DEPRECATED/zgeqrs.f
index 6583e38591..cc33a45fc1 100644
--- a/SRC/DEPRECATED/zgeqrs.f
+++ b/SRC/DEPRECATED/zgeqrs.f
@@ -16,7 +16,7 @@
* ..
* .. Array Arguments ..
* COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ),
-* $ WORK( LWORK )
+* $ WORK( * )
* ..
*
*
@@ -128,7 +128,7 @@ SUBROUTINE ZGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* ..
* .. Array Arguments ..
COMPLEX*16 A( LDA, * ), B( LDB, * ), TAU( * ),
- $ WORK( LWORK )
+ $ WORK( * )
* ..
*
* =====================================================================

View File

@@ -0,0 +1,81 @@
From 3e242fc8d5d38f0425c6018fe88abf31e1a9e80f Mon Sep 17 00:00:00 2001
From: Julie <julie@cs.utk.edu>
Date: Sun, 12 Jan 2025 14:42:24 -0800
Subject: [PATCH] Updating LAPACK version to 3.12.1
---
CMakeLists.txt | 2 +-
DOCS/Doxyfile | 2 +-
INSTALL/ilaver.f | 2 +-
LICENSE | 6 +++---
README.md | 1 +
5 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1f47ae24f..a3070d37ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(LAPACK)
set(LAPACK_MAJOR_VERSION 3)
set(LAPACK_MINOR_VERSION 12)
-set(LAPACK_PATCH_VERSION 0)
+set(LAPACK_PATCH_VERSION 1)
set(
LAPACK_VERSION
${LAPACK_MAJOR_VERSION}.${LAPACK_MINOR_VERSION}.${LAPACK_PATCH_VERSION}
diff --git a/DOCS/Doxyfile b/DOCS/Doxyfile
index 577675772c..e4cd1e6e06 100644
--- a/DOCS/Doxyfile
+++ b/DOCS/Doxyfile
@@ -38,7 +38,7 @@ PROJECT_NAME = LAPACK
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 3.12.0
+PROJECT_NUMBER = 3.12.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/INSTALL/ilaver.f b/INSTALL/ilaver.f
index ced58e6b0f..40f8ca88ef 100644
--- a/INSTALL/ilaver.f
+++ b/INSTALL/ilaver.f
@@ -59,7 +59,7 @@ SUBROUTINE ILAVER( VERS_MAJOR, VERS_MINOR, VERS_PATCH )
* =====================================================================
VERS_MAJOR = 3
VERS_MINOR = 12
- VERS_PATCH = 0
+ VERS_PATCH = 1
* =====================================================================
*
RETURN
diff --git a/LICENSE b/LICENSE
index 96b04c9885..8d59524fac 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,9 +1,9 @@
-Copyright (c) 1992-2023 The University of Tennessee and The University
+Copyright (c) 1992-2025 The University of Tennessee and The University
of Tennessee Research Foundation. All rights
reserved.
-Copyright (c) 2000-2023 The University of California Berkeley. All
+Copyright (c) 2000-2025 The University of California Berkeley. All
rights reserved.
-Copyright (c) 2006-2023 The University of Colorado Denver. All rights
+Copyright (c) 2006-2025 The University of Colorado Denver. All rights
reserved.
$COPYRIGHT$
diff --git a/README.md b/README.md
index a00d4c51d8..f35c362804 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@
* VERSION 3.10.1 : April 2022
* VERSION 3.11.0 : November 2022
* VERSION 3.12.0 : November 2023
+* VERSION 3.12.1 : January 2025
LAPACK is a library of Fortran subroutines for solving the most commonly
occurring problems in numerical linear algebra.

View File

@@ -1,3 +1,114 @@
-------------------------------------------------------------------
Wed Jun 4 14:27:37 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.12.1:
* Enables Fortran before including CheckFortranFunctionExists in
CMakeLists.txt (gh#Reference-LAPACK/lapack#948).
* Fixes for the NAG Fortran compiler
(gh#Reference-LAPACK/lapack#951).
* Fixed HAS_ATTRIBUTE_WEAK_SUPPORT flag for CBLAS objects
(gh#Reference-LAPACK/lapack#950).
* Fixed memory leak in testing framework
(gh#Reference-LAPACK/lapack#953).
* Fixed search phrase for determining the amount of successful
tests (gh#Reference-LAPACK/lapack#954).
* handle and document corner cases of lwork in lapack
(gh#Reference-LAPACK/lapack#942).
* Fix some DMD issues (gh#Reference-LAPACK/lapack#959).
* Remove executable permissions from source files
(gh#Reference-LAPACK/lapack#970).
* CMake: restore compatibility with v3.10 and older
(gh#Reference-LAPACK/lapack#976).
* Re-sync Doxyfile with CMake (gh#Reference-LAPACK/lapack#978).
* Fix Doxygen warnings (gh#Reference-LAPACK/lapack#979).
* {C,Z}LARFGP: re-scale input vector more often
(gh#Reference-LAPACK/lapack#981).
* Typo (gh#Reference-LAPACK/lapack#984).
* Add Index-64 API as extended API with _64 suffix for LAPACKE
(gh#Reference-LAPACK/lapack#888).
* Two small fixes of bdsqr (gh#Reference-LAPACK/lapack#989).
* xGEDMD(Q): silence warning with 64-bit integers
(gh#Reference-LAPACK/lapack#993).
* xSY/HEEVR: clarify use of multiple algorithms
(gh#Reference-LAPACK/lapack#998).
* Fix comments (gh#Reference-LAPACK/lapack#1004).
* Fix comments (gh#Reference-LAPACK/lapack#1007).
* Allow installing binaries to subdirectory while keeping CMake
package scripts in the same place
(gh#Reference-LAPACK/lapack#1009).
* Fix LARFB documentation (gh#Reference-LAPACK/lapack#1016).
* Fix out-of-bounds access in orhr_col
(gh#Reference-LAPACK/lapack#1018).
* Allow User Configuration of RPATH Settings
(gh#Reference-LAPACK/lapack#1002).
* Changing the order of loop to improve performance
(gh#Reference-LAPACK/lapack#1023).
* Use more modern CMake (gh#Reference-LAPACK/lapack#1022).
* Fix infinite loop when an error occurs in tests ddrvst and
sdrvst (gh#Reference-LAPACK/lapack#1024).
* Configurable type of hidden Fortran strlen arguments
(gh#Reference-LAPACK/lapack#1025).
* develop DLARF1F and implement in ORM2R, #1011
(gh#Reference-LAPACK/lapack#1019).
* Fix the wrong implementation of the new tests for xblat1.f
(gh#Reference-LAPACK/lapack#964).
* Implementation of dorm2r and dlarf1f
(gh#Reference-LAPACK/lapack#1020).
* Fix lto type mismatch (gh#Reference-LAPACK/lapack#1027).
* Fix NAG Fortran compiler flag
(gh#Reference-LAPACK/lapack#1028).
* align documentation of BDSQR workspace with code
(gh#Reference-LAPACK/lapack#1029).
* Fixed usage of uninitialized variables in TESTING
(gh#Reference-LAPACK/lapack#961).
* fix few typos and sytrd boundary workspace
(gh#Reference-LAPACK/lapack#1030).
* Implement xGEMMTR and cblas_xGEMMTR
(gh#Reference-LAPACK/lapack#887).
* Prevent compilers from using FMA instructions
(gh#Reference-LAPACK/lapack#1033).
* Clarify documentation of singularity/rank-deficiency checks
(gh#Reference-LAPACK/lapack#924).
* PR contains bug fixes found in ?tfsm (triangular solve for a
RFP matrix) (gh#Reference-LAPACK/lapack#1042).
* Remove CMake < 3 CMP0042 workarounds
(gh#Reference-LAPACK/lapack#1040).
* Declare project dependency on C to avoid the CMAKE default of
C,C++ (gh#Reference-LAPACK/lapack#1044).
* DOC:trsly3: Add dtrsyl3/strsyl3 grouping statements
(gh#Reference-LAPACK/lapack#1051).
* Add a few forgotten API_SUFFIX wrappers in the recently
changed LAPACKE ?TFSM (gh#Reference-LAPACK/lapack#1046).
* Revert "Add a few forgotten API_SUFFIX wrappers in the
recently changed LAPACKE ?TFSM"
(gh#Reference-LAPACK/lapack#1058).
* Revert "Revert "Add a few forgotten API_SUFFIX wrappers in the
recently changed LAPACKE ?TFSM""
(gh#Reference-LAPACK/lapack#1059).
* fix leading dimension for matrix B in test routine get52
(gh#Reference-LAPACK/lapack#1064).
* Remove comparison as these conditions are never true
(gh#Reference-LAPACK/lapack#1062).
* Use GEMMTR for SY/HE linear updates
(gh#Reference-LAPACK/lapack#1069).
* updating gitignore to ignore the mod files when we compile
(gh#Reference-LAPACK/lapack#1082).
* Fixing misspelling of 'triangular' in {s,d,c,z}gemmtr.f
(gh#Reference-LAPACK/lapack#1081).
* Fix line lengths for the extended API
(gh#Reference-LAPACK/lapack#1079).
* Adding a recursive xLARFT (gh#Reference-LAPACK/lapack#1080).
- Drop fix-lapack-testing.patch: upstreamed (commit 5b0687f).
- Add upstream commits to fix build when enabling deprecated mods:
* lapack-deprecated-lwork-use.patch: 'WORK( LWORK )' should be
'WORK( * )' everywhere (gh#Reference-LAPACK/lapack#1092).
* lapack-depcrecated-consistent-line-reflow-1.patch
(gh#Reference-LAPACK/lapack#1093).
* lapack-depcrecated-consistent-line-reflow-2.patch
(gh#Reference-LAPACK/lapack#1099).
- Add lapack-update-patch-version.patch to update patch version in
source files.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 4 16:48:42 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org> Mon Nov 4 16:48:42 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package lapack # spec file for package lapack
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -38,16 +38,22 @@
%define a_x _%{_arch} %define a_x _%{_arch}
%endif %endif
Name: %{pname}%{?psuffix} Name: %{pname}%{?psuffix}
Version: 3.12.0 Version: 3.12.1
Release: 0 Release: 0
Summary: Linear Algebra PACKage 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
# PATCH-FIX-UPSTREAM
Patch0: https://github.com/Reference-LAPACK/lapack/commit/b054023.patch#/lapack-deprecated-lwork-use.patch
# PATCH-FIX-UPSTREAM
Patch1: https://github.com/Reference-LAPACK/lapack/commit/0799b59.patch#/lapack-depcrecated-consistent-line-reflow-1.patch
# PATCH-FIX-UPSTREAM
Patch2: https://github.com/Reference-LAPACK/lapack/commit/447fd4e.patch#/lapack-depcrecated-consistent-line-reflow-2.patch
# PATCH-FIX-UPSTREAM
Patch3: https://github.com/Reference-LAPACK/lapack/commit/cf2c440.patch#/lapack-update-patch-version.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@@ -74,7 +80,13 @@ similar functionality is provided for real and complex matrices, in
both single and double precision. both single and double precision.
# LAPACK # LAPACK
%package -n liblapack%{so_ver} %package -n liblapack%{so_ver}
Summary: Linear Algebra PACKage: Shared Library Summary: Linear Algebra PACKage: Shared Library
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -130,7 +142,13 @@ both single and double precision.
This package provides the static library for LAPACK. This package provides the static library for LAPACK.
# BLAS # BLAS
%package -n libblas%{so_ver} %package -n libblas%{so_ver}
Summary: Basic Linear Algebra Subprograms: Shared Library Summary: Basic Linear Algebra Subprograms: Shared Library
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -171,7 +189,13 @@ blas-man package.
This package provides the static library for BLAS. This package provides the static library for BLAS.
# LAPACKE # LAPACKE
%package -n liblapacke%{so_ver} %package -n liblapacke%{so_ver}
Summary: Native C Interface to LAPACK: shared library Summary: Native C Interface to LAPACK: shared library
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -207,7 +231,13 @@ for C programmers.
This package provides the static library for LAPACKE. This package provides the static library for LAPACKE.
# CBLAS # CBLAS
%package -n libcblas%{so_ver} %package -n libcblas%{so_ver}
Summary: Native C interface to BLAS: Shared Library Summary: Native C interface to BLAS: Shared Library
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -243,7 +273,13 @@ for C programmers.
This package contains the CBLAS static libraries. This package contains the CBLAS static libraries.
# TMGLIB # TMGLIB
%package -n libtmglib%{so_ver} %package -n libtmglib%{so_ver}
Summary: Test Matrix Generator Library: shared library Summary: Test Matrix Generator Library: shared library
@@ -268,7 +304,13 @@ This package provides the headers and sources needed to develop against the
tmglib as a static library. tmglib as a static library.
# MAN Pages # MAN Pages
%package -n lapack-man %package -n lapack-man
Summary: Man pages for BLAS, CBLAS, and LAPACK Summary: Man pages for BLAS, CBLAS, and LAPACK
@@ -341,8 +383,6 @@ rm -fr %{buildroot}%{_includedir}/*.h \
%if %{with man} %if %{with man}
# Delete weirdly named man files # Delete weirdly named man files
rm %{__builddir}/DOCS/man/man3/_*_.3 rm %{__builddir}/DOCS/man/man3/_*_.3
# Rename isnan to avoid conflict with libm's isnan man file (package man-pages)
mv %{__builddir}/DOCS/man/man3/isnan{,-lapack}.3
# Install man pages # Install man pages
mkdir -p %{buildroot}%{_mandir} mkdir -p %{buildroot}%{_mandir}
cp -r %{__builddir}/DOCS/man/man3 %{buildroot}%{_mandir}/ cp -r %{__builddir}/DOCS/man/man3 %{buildroot}%{_mandir}/