blas: use $NM instead of nm
This is the right one on cross compilation.
This commit is contained in:
parent
f42aa7e1d7
commit
e7ea3de835
@ -70,7 +70,7 @@ stdenv.mkDerivation {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nm -an "$libblas" | cut -f3 -d' ' > symbols
|
$NM -an "$libblas" | cut -f3 -d' ' > symbols
|
||||||
for symbol in ${toString blasFortranSymbols}; do
|
for symbol in ${toString blasFortranSymbols}; do
|
||||||
grep "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
|
grep "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user