pythonPackages.scikitlearn: build with openblas

This commit is contained in:
Thomas Tuegel 2015-06-11 19:23:25 -05:00
parent 661ce66483
commit bc3217251e

View File

@ -11298,15 +11298,14 @@ let
}; };
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ]; buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
propagatedBuildInputs = with self; [ numpy scipy pkgs.atlas ]; propagatedBuildInputs = with self; [ numpy scipy pkgs.openblas ];
buildPhase = '' buildPhase = ''
export ATLAS=${pkgs.atlas}
${self.python.executable} setup.py build_ext -i --fcompiler='gnu95' ${self.python.executable} setup.py build_ext -i --fcompiler='gnu95'
''; '';
checkPhase = '' checkPhase = ''
LC_ALL="en_US.UTF-8" HOME=$TMPDIR ATLAS="" nosetests LC_ALL="en_US.UTF-8" HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests
''; '';
meta = { meta = {