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

@@ -2,7 +2,7 @@
, guiSupport ? false, libX11
# see http://dlib.net/compile.html
, avxSupport ? builtins.elem (stdenv.hostPlatform.platform.gcc.arch or "default") [ "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylake-avx512" "btver2" "bdver1" "bdver2" "bdver3" "bdver4" "znver1"]
, avxSupport ? stdenv.hostPlatform.avxSupport
, cudaSupport ? true
}: