suitesparse: link shared library against openblas

This commit is contained in:
Thomas Tuegel 2015-10-11 09:16:34 -05:00
parent eb300443f0
commit 0daee71b1c

View File

@ -42,7 +42,7 @@ stdenv.mkDerivation {
for i in "$out"/lib/lib*.a; do for i in "$out"/lib/lib*.a; do
ar -x $i ar -x $i
done done
gcc *.o --shared -o "$out/lib/libsuitesparse.so" gcc *.o --shared -o "$out/lib/libsuitesparse.so" -lopenblas
) )
for i in umfpack cholmod amd camd colamd spqr; do for i in umfpack cholmod amd camd colamd spqr; do
ln -s libsuitesparse.so "$out"/lib/lib$i.so; ln -s libsuitesparse.so "$out"/lib/lib$i.so;