Merge pull request #9547 from FRidh/scikitlearn
scikit-learn: fix i686 build failures
This commit is contained in:
commit
6936b5c183
1 changed files with 7 additions and 0 deletions
|
@ -12546,6 +12546,13 @@ let
|
|||
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
|
||||
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 = ''
|
||||
${self.python.executable} setup.py build_ext -i --fcompiler='gnu95'
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue