suitesparse: link shared library against openblas
This commit is contained in:
parent
eb300443f0
commit
0daee71b1c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user