[scalapack/f19] fix shared library to link to needed libs
Tom Callaway
spot at fedoraproject.org
Mon Jul 7 16:58:53 UTC 2014
commit d8e06b39a599af895643867c7f90856cc9bea546
Author: Tom Callaway <spot at fedoraproject.org>
Date: Mon Jul 7 12:59:04 2014 -0400
fix shared library to link to needed libs
scalapack-1.7-fedora.patch | 2 +-
scalapack.spec | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/scalapack-1.7-fedora.patch b/scalapack-1.7-fedora.patch
index 27c8105..deb66e3 100644
--- a/scalapack-1.7-fedora.patch
+++ b/scalapack-1.7-fedora.patch
@@ -15,7 +15,7 @@
( cd $(REDISTdir)/SRC; $(MAKE) clean )
+
+shared: scalapacklib
-+ ( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o $(home)/libscalapack.so.1.0.0 *.o -Wl,-soname=libscalapack.so.1 ; cd .. )
++ ( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o $(home)/libscalapack.so.1.0.0 *.o -Wl,-soname=libscalapack.so.1 -lblas -llapack -lmpiblacs -lmpiblacsF77init -lmpiblacsCinit -lm -lgfortran; cd .. )
--- scalapack-1.7.5/scalapack-1.7.5/SLmake.inc.fedora 2001-08-08 21:59:50.000000000 -0500
+++ scalapack-1.7.5/scalapack-1.7.5/SLmake.inc 2006-03-08 18:09:05.000000000 -0600
@@ -19,7 +19,7 @@
diff --git a/scalapack.spec b/scalapack.spec
index 102be76..d52d0ad 100644
--- a/scalapack.spec
+++ b/scalapack.spec
@@ -1,7 +1,7 @@
Summary: A subset of LAPACK routines redesigned for heterogeneous computing
Name: scalapack
Version: 1.7.5
-Release: 19%{?dist}
+Release: 21%{?dist}
# This is freely distributable without any restrictions.
License: Public Domain
Group: Development/Libraries
@@ -278,6 +278,12 @@ rm -fr ${RPM_BUILD_ROOT}
%{_libdir}/openmpi/lib/libscalapack.a
%changelog
+* Wed Jul 2 2014 Tom Callaway <spot at fedoraproject.org> - 1.7.5-21
+- link shared library to other needed libs
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.5-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
* Sat Jul 20 2013 Deji Akingunola <dakingun at gmail.com> - 1.7.5-19
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
More information about the scm-commits
mailing list