[scalapack/f20] link shared lib to other dependent shared libs
Tom Callaway
spot at fedoraproject.org
Wed Jul 2 19:15:45 UTC 2014
commit a3e51339e55efed51ef0d8f8af45d6ca60f38bb0
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Jul 2 15:15:50 2014 -0400
link shared lib to other dependent shared libs
scalapack-1.7-fedora.patch | 2 +-
scalapack.spec | 5 ++++-
2 files changed, 5 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 72704ff..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: 20%{?dist}
+Release: 21%{?dist}
# This is freely distributable without any restrictions.
License: Public Domain
Group: Development/Libraries
@@ -278,6 +278,9 @@ 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
More information about the scm-commits
mailing list