python-numpy: improved support for BLAS and LAPACK via gfortran
svn path=/nixpkgs/trunk/; revision=22787
This commit is contained in:
parent
93b18ceb30
commit
df013849e4
@ -420,16 +420,16 @@ rec {
|
|||||||
sha256 = "01lf3nc2lp1qkrqnnar50vb7i6y07d1zs6f9yc3kw4p5fd2vhyrf";
|
sha256 = "01lf3nc2lp1qkrqnnar50vb7i6y07d1zs6f9yc3kw4p5fd2vhyrf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: add ATLAS=${pkgs.atlas}
|
||||||
|
installCommand = ''
|
||||||
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
||||||
|
python setup.py build --fcompiler="gnu95"
|
||||||
|
python setup.py install --root="$out"
|
||||||
|
'';
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = [ pkgs.liblapack pkgs.blas pkgs.gfortran ];
|
buildInputs = [ pkgs.gfortran ];
|
||||||
|
propagatedBuildInputs = [ pkgs.liblapack pkgs.blas ];
|
||||||
# The build should be run as follows:
|
|
||||||
#
|
|
||||||
# python setup.py config_fc --fcompiler=gnu95 build
|
|
||||||
# python setup.py config_fc --fcompiler=gnu95 install
|
|
||||||
#
|
|
||||||
# But I con't figure out how to pass the extra flags to setuptools.
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Scientific tools for Python";
|
description = "Scientific tools for Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user