[csdp] Rebuild for atlas 3.10.1.
Jerry James
jjames at fedoraproject.org
Sun Sep 22 01:02:43 UTC 2013
commit 698287142128fa97c7b2f7514464ad75b99383ca
Author: Jerry James <loganjerry at gmail.com>
Date: Sat Sep 21 19:02:20 2013 -0600
Rebuild for atlas 3.10.1.
csdp.spec | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/csdp.spec b/csdp.spec
index 4289ce0..d67497a 100644
--- a/csdp.spec
+++ b/csdp.spec
@@ -2,7 +2,7 @@
Name: csdp
Version: 6.1.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: C library for SemiDefinite Programming
Group: Development/Libraries
@@ -79,14 +79,13 @@ if [ %{__isa_bits} = "64" ]; then
CFLAGS+=" -DBIT64"
fi
sed -i -e "s|^CFLAGS=.*|CFLAGS=${CFLAGS}|" \
- -e "s|^LIBS=.*|LIBS=-L../lib -L%{_libdir}/atlas -lsdp -llapack -lptf77blas -lptcblas -latlas -lm|" \
+ -e "s|^LIBS=.*|LIBS=-Wl,--as-needed -L../lib -L%{_libdir}/atlas -lsdp -ltatlas -lm|" \
solver/Makefile theta/Makefile
# Build the shared library
cd lib
gcc ${CFLAGS} -DUSEOPENMP -fopenmp -fPIC -shared -Wl,--soname=libsdp.so.6 *.c \
- -o libsdp.so.%{version} -nodefaultlibs -L%{_libdir}/atlas -lgomp -llapack \
- -latlas -lm -lc
+ -o libsdp.so.%{version} -Wl,--as-needed -L%{_libdir}/atlas -lgomp -ltatlas -lm
ln -s libsdp.so.%{version} libsdp.so.6
ln -s libsdp.so.6 libsdp.so
@@ -152,6 +151,9 @@ cp -p %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
%{octavedir}
%changelog
+* Sat Sep 21 2013 Jerry James <loganjerry at gmail.com> - 6.1.1-6
+- Rebuild for atlas 3.10.1
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list