Merge pull request #9547 from FRidh/scikitlearn
scikit-learn: fix i686 build failures
This commit is contained in:
commit
6936b5c183
@ -12546,6 +12546,13 @@ 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.openblas ];
|
propagatedBuildInputs = with self; [ numpy scipy pkgs.openblas ];
|
||||||
|
|
||||||
|
# doctests fail on i686
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/9472
|
||||||
|
# https://github.com/scikit-learn/scikit-learn/issues/5177
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace setup.cfg --replace 'with-doctest = 1' 'with-doctest = 0'
|
||||||
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
${self.python.executable} setup.py build_ext -i --fcompiler='gnu95'
|
${self.python.executable} setup.py build_ext -i --fcompiler='gnu95'
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user