mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: clang-19: Add compiler-cpu-architectures entries.
* gnu/packages/llvm-meta.scm (clang-compiler-cpu-architectures): Add entries for powerpc64le and x86_64 for new optimization architectures. Change-Id: Ie89dd4cb17c36e0a9faba37f54c0c24bcf3e7727
This commit is contained in:
parent
2903d12a0d
commit
edfdc905d9
1 changed files with 21 additions and 2 deletions
|
@ -30,10 +30,29 @@ (define (clang-compiler-cpu-architectures version)
|
|||
;;
|
||||
;; and then filtering against clang/test/Misc/target-invalid-cpu-note.c
|
||||
("powerpc64le"
|
||||
,@(if (version>=? version "11.0")
|
||||
'("power8" "power9" "power10" "powerpc64le")))
|
||||
,@(cond
|
||||
((version>=? version "19.0")
|
||||
'("power8" "power9" "power10" "power11" "powerpc64le"))
|
||||
((version>=? version "11.0")
|
||||
'("power8" "power9" "power10" "powerpc64le"))
|
||||
(else '())))
|
||||
("x86_64"
|
||||
,@(cond
|
||||
((version>=? version "19.0")
|
||||
'("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm"
|
||||
"goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere"
|
||||
"sandybridge" "corei7-avx" "ivybridge" "core-avx-i" "haswell"
|
||||
"core-avx2" "broadwell" "skylake" "skylake-avx512" "skx"
|
||||
"cascadelake" "cooperlake" "cannonlake" "icelake-client"
|
||||
"rocketlake" "icelake-server" "tigerlake" "sapphirerapids"
|
||||
"alderlake" "raptorlake" "arrowlake" "arrowlake-s" "lunarlake"
|
||||
"gracemont" "pantherlake" "meteorlake" "sierraforest" "grandridge"
|
||||
"graniterapids" "graniterapids-d" "emeraldrapids"
|
||||
"clearwaterforest" "knl" "knm" "k8" "athlon64" "athlon-fx"
|
||||
"opteron" "k8-sse3" "athlon64-sse3" "opteron-sse3" "amdfam10"
|
||||
"barcelona" "btver1" "btver2" "bdver1" "bdver2" "bdver3" "bdver4"
|
||||
"znver1" "znver2" "znver3" "znver4" "znver5" "x86-64" "x86-64-v2"
|
||||
"x86-64-v3" "x86-64-v4"))
|
||||
((version>=? version "18.0")
|
||||
'("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm"
|
||||
"goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere"
|
||||
|
|
Loading…
Reference in a new issue