aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-09-30 11:19:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-09-30 11:19:49 +0300
commitedfdc905d9438d502de95b8db43073ccd7cd1b7f (patch)
treef2e9896a8d00680eb8f04f7965ba2c423163fed0
parent2903d12a0de4ba76e2430d690491aa152085ca63 (diff)
downloadguix-edfdc905d9438d502de95b8db43073ccd7cd1b7f.tar
guix-edfdc905d9438d502de95b8db43073ccd7cd1b7f.tar.gz
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
-rw-r--r--gnu/packages/llvm-meta.scm23
1 files changed, 21 insertions, 2 deletions
diff --git a/gnu/packages/llvm-meta.scm b/gnu/packages/llvm-meta.scm
index 03059a19ad..5cf8fcd1be 100644
--- a/gnu/packages/llvm-meta.scm
+++ b/gnu/packages/llvm-meta.scm
@@ -30,10 +30,29 @@
;;
;; 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"