Apply upstream patch: MAINT:linalg:Adjust lwork/liwork changes OpenBLAS 0.3.26
Resolves: RHEL-70908
This commit is contained in:
parent
c4ed44a38a
commit
4aa2440322
38
19909.patch
Normal file
38
19909.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 8c96a1f742335bca283aae418763aaba62c03378 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ilhan Polat <ilhanpolat@gmail.com>
|
||||||
|
Date: Thu, 18 Jan 2024 14:47:42 +0100
|
||||||
|
Subject: [PATCH] MAINT:linalg:Adjust lwork/liwork changes OpenBLAS 0.3.26
|
||||||
|
|
||||||
|
See https://github.com/Reference-LAPACK/lapack/pull/942
|
||||||
|
---
|
||||||
|
scipy/linalg/flapack_sym_herm.pyf.src | 10 +++++-----
|
||||||
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/scipy/linalg/flapack_sym_herm.pyf.src b/scipy/linalg/flapack_sym_herm.pyf.src
|
||||||
|
index f07dbaecbc72..af04e0d8d8d8 100644
|
||||||
|
--- a/scipy/linalg/flapack_sym_herm.pyf.src
|
||||||
|
+++ b/scipy/linalg/flapack_sym_herm.pyf.src
|
||||||
|
@@ -762,8 +762,8 @@ subroutine <prefix2>syevr(compute_v,range,lower,n,a,lda,vl,vu,il,iu,abstol,w,z,m
|
||||||
|
<ftype2> optional,intent(in) :: vl=0.0
|
||||||
|
<ftype2> optional,intent(in),check(vu>=vl),depend(vl) :: vu=1.0
|
||||||
|
<ftype2> intent(in) :: abstol=0.0
|
||||||
|
- integer optional,intent(in),depend(n),check(lwork>=max(1,26*n)||lwork==-1) :: lwork=max(26*n,1)
|
||||||
|
- integer optional,intent(in),depend(n),check(liwork>=max(1,10*n)||liwork==-1):: liwork= max(1,10*n)
|
||||||
|
+ integer optional,intent(in),depend(n),check(lwork>=(n <= 1 ? 1 : max(1,26*n))||lwork==-1) :: lwork=max(26*n,1)
|
||||||
|
+ integer optional,intent(in),depend(n),check(liwork>=(n <= 1 ? 1 : max(1,10*n))||liwork==-1):: liwork= max(1,10*n)
|
||||||
|
|
||||||
|
integer intent(hide),depend(a) :: n=shape(a,0)
|
||||||
|
integer intent(hide),depend(n) :: lda=max(1,n)
|
||||||
|
@@ -832,9 +832,9 @@ subroutine <prefix2c>heevr(compute_v,range,lower,n,a,lda,vl,vu,il,iu,abstol,w,z,
|
||||||
|
<ftype2> optional,intent(in) :: vl=0.0
|
||||||
|
<ftype2> optional,intent(in),check(vu>vl),depend(vl) :: vu=1.0
|
||||||
|
<ftype2> intent(in) :: abstol=0.0
|
||||||
|
- integer optional,intent(in),depend(n),check(lwork>=max(2*n,1)||lwork==-1) :: lwork=max(2*n,1)
|
||||||
|
- integer optional,intent(in),depend(n),check(lrwork>=max(24*n,1)||lrwork==-1) :: lrwork=max(24*n,1)
|
||||||
|
- integer optional,intent(in),depend(n),check(liwork>=max(1,10*n)||liwork==-1):: liwork= max(1,10*n)
|
||||||
|
+ integer optional,intent(in),depend(n),check(lwork>=(n <= 1 ? 1 : max(1,2*n))||lwork==-1) :: lwork=max(2*n,1)
|
||||||
|
+ integer optional,intent(in),depend(n),check(lrwork>=(n <= 1 ? 1 : max(1,24*n))||lrwork==-1) :: lrwork=max(24*n,1)
|
||||||
|
+ integer optional,intent(in),depend(n),check(liwork>=(n <= 1 ? 1 : max(1,10*n))||liwork==-1):: liwork= max(1,10*n)
|
||||||
|
|
||||||
|
integer intent(hide),depend(a) :: n=shape(a,0)
|
||||||
|
integer intent(hide),depend(n) :: lda=max(1,n)
|
@ -15,7 +15,7 @@
|
|||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 1.9.3
|
Version: 1.9.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# BSD -- whole package except:
|
# BSD -- whole package except:
|
||||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||||
@ -23,6 +23,7 @@ Release: 1%{?dist}
|
|||||||
License: BSD and Boost and Public Domain
|
License: BSD and Boost and Public Domain
|
||||||
Url: http://www.scipy.org/scipylib/index.html
|
Url: http://www.scipy.org/scipylib/index.html
|
||||||
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz
|
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz
|
||||||
|
Patch: 19909.patch
|
||||||
|
|
||||||
BuildRequires: fftw-devel, suitesparse-devel
|
BuildRequires: fftw-devel, suitesparse-devel
|
||||||
BuildRequires: %{blaslib}-devel
|
BuildRequires: %{blaslib}-devel
|
||||||
@ -183,6 +184,10 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 09 2025 Pavel Simovec <psimovec@redhat.com> - 1.9.3-2
|
||||||
|
- Apply upstream patch: MAINT:linalg:Adjust lwork/liwork changes OpenBLAS 0.3.26
|
||||||
|
- Resolves: RHEL-70908
|
||||||
|
|
||||||
* Mon Oct 07 2024 Pavel Simovec <psimovec@redhat.com> - 1.9.3-1
|
* Mon Oct 07 2024 Pavel Simovec <psimovec@redhat.com> - 1.9.3-1
|
||||||
- Update to 1.9.3
|
- Update to 1.9.3
|
||||||
- Resolves: RHEL-5600
|
- Resolves: RHEL-5600
|
||||||
|
Loading…
Reference in New Issue
Block a user