diff options
author | volth <volth@volth.com> | 2019-05-05 23:40:20 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2020-08-05 02:32:48 +0000 |
commit | 463db72e631e0bd4a835796324eb1981071c6ee4 (patch) | |
tree | e939bd124f8c1243b0d3fdd3e66a6727eff40692 /pkgs/development/python-modules/dlib | |
parent | bf9d9cef58c98cfab982c157505e307f3404c4b0 (diff) |
platform.gcc.arch: support for AMD CPUs
Diffstat (limited to 'pkgs/development/python-modules/dlib')
-rw-r--r-- | pkgs/development/python-modules/dlib/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/dlib/default.nix b/pkgs/development/python-modules/dlib/default.nix index a57d830755138..33cb72dca408b 100644 --- a/pkgs/development/python-modules/dlib/default.nix +++ b/pkgs/development/python-modules/dlib/default.nix @@ -1,4 +1,6 @@ -{ buildPythonPackage, dlib, python, pytest, more-itertools, avxSupport ? true, lib }: +{ buildPythonPackage, lib, dlib, python, pytest, more-itertools, + avxSupport ? builtins.elem (stdenv.hostPlatform.platform.gcc.arch or "default") [ "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylake-avx512" "btver2" "bdver1" "bdver2" "bdver3" "bdver4" "znver1"] +}: buildPythonPackage { inherit (dlib) name src nativeBuildInputs buildInputs meta; |