diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-18 15:00:48 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-20 11:50:37 +0200 |
commit | 277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db (patch) | |
tree | b9962f497ce1689bbd6c7fac739d3eadb21d52af /pkgs/development/python-modules/scipy | |
parent | eee82aee375bf964e41dc7b66e35977a85e287a7 (diff) | |
download | nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar.gz nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar.bz2 nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar.lz nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar.xz nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.tar.zst nixpkgs-277b73ab6fecd5c8f76b8eb9cc2fc1e036aee0db.zip |
pythonPackages.{numpy,scipy,numexpr}: support MKL as BLAS
This adds support building with MKL.
Diffstat (limited to 'pkgs/development/python-modules/scipy')
-rw-r--r-- | pkgs/development/python-modules/scipy/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 5fdffedc6f2..597a8e0783a 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -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; |