From d40d5fe5b8ed3353bd032ac2187e2fcfef9455b3 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 24 Oct 2012 11:38:09 -0400 Subject: [PATCH] fix undefined symbols --- lapack-3.4.1-lapacke-disable-testing-functions.patch | 12 ++++++++++++ lapack.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 lapack-3.4.1-lapacke-disable-testing-functions.patch diff --git a/lapack-3.4.1-lapacke-disable-testing-functions.patch b/lapack-3.4.1-lapacke-disable-testing-functions.patch new file mode 100644 index 0000000..a331925 --- /dev/null +++ b/lapack-3.4.1-lapacke-disable-testing-functions.patch @@ -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) diff --git a/lapack.spec b/lapack.spec index 57d67fc..5681d89 100644 --- a/lapack.spec +++ b/lapack.spec @@ -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 - 3.4.1-2 +- fix issue where lapacke was linking to testing functions (bz860332) + * Thu Sep 06 2012 Orion Poplawski - 3.4.1-1 - Update to 3.4.1 - Rebase lapacke shared lib patch