pythonPackages.{numpy,scipy,numexpr}: support MKL as BLAS
This adds support building with MKL.
This commit is contained in:
committed by
Frederik Rietdijk
parent
eee82aee37
commit
277b73ab6f
@@ -29,12 +29,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
echo "Creating site.cfg file..."
|
||||
cat << EOF > site.cfg
|
||||
[openblas]
|
||||
include_dirs = ${numpy.blas}/include
|
||||
library_dirs = ${numpy.blas}/lib
|
||||
EOF
|
||||
ln -s ${numpy.cfg} site.cfg
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user