Add patch to fix segfaul in test of sgeqrf
This commit is contained in:
parent
e2c5ca9e08
commit
db1d7ef062
12
scipy-gerqf.patch
Normal file
12
scipy-gerqf.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up scipy-0.12.0/scipy/linalg/flapack.pyf.src.gerqf scipy-0.12.0/scipy/linalg/flapack.pyf.src
|
||||||
|
--- scipy-0.12.0/scipy/linalg/flapack.pyf.src.gerqf 2013-04-06 10:10:35.000000000 -0600
|
||||||
|
+++ scipy-0.12.0/scipy/linalg/flapack.pyf.src 2013-04-15 17:03:37.290059000 -0600
|
||||||
|
@@ -650,7 +650,7 @@ interface
|
||||||
|
<ftype> dimension(m,n),intent(in,out,copy,out=qr,aligned8) :: a
|
||||||
|
<ftype> dimension(MIN(m,n)),intent(out) :: tau
|
||||||
|
|
||||||
|
- integer optional,intent(in),depend(n),check(lwork>=m||lwork==-1) :: lwork=3*m
|
||||||
|
+ integer optional,intent(in),depend(m),check(lwork>=m||lwork==-1) :: lwork=3*m
|
||||||
|
<ftype> dimension(MAX(lwork,1)),intent(out),depend(lwork) :: work
|
||||||
|
integer intent(out) :: info
|
||||||
|
end subroutine <prefix>gerqf
|
@ -16,12 +16,14 @@
|
|||||||
Summary: Scipy: Scientific Tools for Python
|
Summary: Scipy: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 0.12.0
|
Version: 0.12.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD and LGPLv2+
|
License: BSD and LGPLv2+
|
||||||
Url: http://www.scipy.org
|
Url: http://www.scipy.org
|
||||||
Source0: http://downloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
||||||
|
# Fix definition on gerqf that caused test segfault
|
||||||
|
Patch0: scipy-gerqf.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: numpy, python-devel,f2py
|
BuildRequires: numpy, python-devel,f2py
|
||||||
@ -69,6 +71,7 @@ leading scientists and engineers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .gerqf
|
||||||
cat > site.cfg << EOF
|
cat > site.cfg << EOF
|
||||||
|
|
||||||
[amd]
|
[amd]
|
||||||
@ -145,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 15 2013 Orion Poplawski <orion@cora.nwra.com> - 0.12.0-2
|
||||||
|
- Add patch to fix segfaul in test of sgeqrf
|
||||||
|
|
||||||
* Wed Apr 10 2013 Orion Poplawski <orion@cora.nwra.com> - 0.12.0-1
|
* Wed Apr 10 2013 Orion Poplawski <orion@cora.nwra.com> - 0.12.0-1
|
||||||
- Update to 0.12.0 final
|
- Update to 0.12.0 final
|
||||||
- No longer remove weave from python3 build
|
- No longer remove weave from python3 build
|
||||||
|
Loading…
Reference in New Issue
Block a user