mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
suitesparse: link shared library against openblas
This commit is contained in:
parent
eb300443f0
commit
0daee71b1c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue