gcc.arch: refactor, move tables under lib/

This commit is contained in:
volth
2020-08-05 02:32:41 +00:00
parent 463db72e63
commit cf7b63df5b
18 changed files with 154 additions and 128 deletions

View File

@@ -1,5 +1,5 @@
{ 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, stdenv, lib, dlib, python, pytest, more-itertools
, avxSupport ? stdenv.hostPlatform.avxSupport
}:
buildPythonPackage {