pythonPackages.{numpy,scipy,numexpr}: support MKL as BLAS

This adds support building with MKL.
This commit is contained in:
Chris Ostrouchov
2018-10-20 11:50:37 +02:00
committed by Frederik Rietdijk
parent eee82aee37
commit 277b73ab6f
4 changed files with 53 additions and 16 deletions
@@ -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;