fix undefined symbols

This commit is contained in:
Tom Callaway 2012-10-24 11:38:09 -04:00
parent 2f575a1359
commit d40d5fe5b8
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up lapack-3.4.1/lapacke/src/Makefile.disable-functions lapack-3.4.1/lapacke/src/Makefile
--- lapack-3.4.1/lapacke/src/Makefile.disable-functions 2012-10-24 11:19:46.054150834 -0400
+++ lapack-3.4.1/lapacke/src/Makefile 2012-10-24 11:19:54.430152048 -0400
@@ -2040,7 +2040,7 @@ lapacke_slagsy_work.o \
lapacke_zlagsy.o \
lapacke_zlagsy_work.o
-ALLOBJ = $(SRC_OBJ) $(MATGEN_OBJ)
+ALLOBJ = $(SRC_OBJ)
ifdef USEXBLAS
ALLXOBJ = $(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC)

View File

@ -4,7 +4,7 @@
Summary: Numerical linear algebra package libraries
Name: lapack
Version: %{mediumver}.1
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Group: Development/Libraries
URL: http://www.netlib.org/lapack/
@ -16,6 +16,7 @@ Source4: http://www.netlib.org/lapack/lapackqref.ps
Source5: http://www.netlib.org/blas/blasqr.ps
Patch3: lapack-3.4.0-make.inc.patch
Patch4: lapack-3.4.1-lapacke-shared.patch
Patch5: lapack-3.4.1-lapacke-disable-testing-functions.patch
BuildRequires: gcc-gfortran
%description
@ -78,6 +79,7 @@ BLAS static libraries.
%setup -q -D -T -a1
%patch3 -p1 -b .fedora
%patch4 -p1 -b .shared
%patch5 -p1 -b .disable-functions
mkdir manpages
mv man/ manpages/
@ -264,6 +266,9 @@ ln -sf liblapacke.so.%{version} liblapacke.so.%{mediumver}
%{_libdir}/libblas*.a
%changelog
* Wed Oct 24 2012 Tom Callaway <spot@fedoraproject.org> - 3.4.1-2
- fix issue where lapacke was linking to testing functions (bz860332)
* Thu Sep 06 2012 Orion Poplawski <orion@cora.nwra.com> - 3.4.1-1
- Update to 3.4.1
- Rebase lapacke shared lib patch