mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
pythonPackages.dlib: disable AVX instructions during checkPhase
This commit is contained in:
parent
c41603ab1b
commit
ac499a345a
@ -964,6 +964,10 @@ in {
|
||||
dlib = buildPythonPackage rec {
|
||||
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 ];
|
||||
|
||||
checkInputs = with self; [ pytest ];
|
||||
|
Loading…
Reference in New Issue
Block a user