[fflas-ffpack] Rebuild for atlas 3.10.1.
Jerry James
jjames at fedoraproject.org
Mon Sep 23 22:02:55 UTC 2013
commit 6fde4dbddf439c234f68d1f5c19b9de8e85d6523
Author: Jerry James <jamesjer at betterlinux.com>
Date: Mon Sep 23 16:02:40 2013 -0600
Rebuild for atlas 3.10.1.
fflas-ffpack.spec | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/fflas-ffpack.spec b/fflas-ffpack.spec
index 17e8e8b..7b831f1 100644
--- a/fflas-ffpack.spec
+++ b/fflas-ffpack.spec
@@ -6,7 +6,7 @@
Name: fflas-ffpack
Version: 1.6.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Finite field linear algebra subroutines
Group: Development/Libraries
@@ -74,12 +74,25 @@ for f in `grep -FRl 'Temple Place' .`; do
rm -f $f.orig
done
+# Adapt to monolithic ATLAS libraries in version 3.10 and later
+sed -e 's,-lcblas,-lsatlas,' \
+ -e 's,-latlas,-lsatlas,' \
+ -e 's,$BLAS_HOME/lib/libcblas\.so,$BLAS_HOME/libsatlas.so,' \
+ -e 's,-L${BLAS_HOME}/lib,-L${BLAS_HOME},' \
+ -e 's,\(ATLAS_NEEDED2=\).*,\1"ATL",' \
+ -i configure
+
%build
%configure --docdir=%{_docdir}/fflas-ffpack --disable-static \
--enable-optimization --enable-doc --with-cblas=%{_libdir}/atlas \
--with-lapack=%{_libdir}/atlas CPPFLAGS="-D__int64=__int64_t"
make %{?_smp_mflags}
+# Fix the config file for the monolithic ATLAS libraries
+sed -e 's, -lsatlas -lsatlas,-lsatlas,' \
+ -e 's,%{_libdir}/atlas/lib,%{_libdir}/atlas,' \
+ -i fflas-ffpack-config
+
# Build the developer documentation, too
cd doc
doxygen DoxyfileDev
@@ -106,6 +119,9 @@ make check
%doc doc/fflas-ffpack.html doc/fflas-ffpack-html doc/fflas-ffpack-dev-html
%changelog
+* Mon Sep 23 2013 Jerry James <loganjerry at gmail.com> - 1.6.0-6
+- Rebuild for atlas 3.10.1
+
* Tue Jul 30 2013 Jerry James <loganjerry at gmail.com> - 1.6.0-5
- Adapt to Rawhide versionless _docdir change
More information about the scm-commits
mailing list