pythonPackages.dlib: disable AVX instructions during checkPhase
This commit is contained in:
parent
c41603ab1b
commit
ac499a345a
@ -964,6 +964,10 @@ in {
|
|||||||
dlib = buildPythonPackage rec {
|
dlib = buildPythonPackage rec {
|
||||||
inherit (pkgs.dlib) name src nativeBuildInputs meta buildInputs;
|
inherit (pkgs.dlib) name src nativeBuildInputs meta buildInputs;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} nix_run_setup test --no USE_AVX_INSTRUCTIONS
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [ ../development/python-modules/dlib/build-cores.patch ];
|
patches = [ ../development/python-modules/dlib/build-cores.patch ];
|
||||||
|
|
||||||
checkInputs = with self; [ pytest ];
|
checkInputs = with self; [ pytest ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user