Message ID | 5481aa7253a1c21a53a1376a96887f3be2af8243.1709722620.git.efraim@flashner.co.il |
---|---|
State | New |
Headers | show |
Series | CPU tuning patches | expand |
Efraim Flashner <efraim@flashner.co.il> skribis: > * gnu/packages/llvm.scm (clang-properties): Add entry for powerpc64le. > > Change-Id: I89f300922270a1f35aa08e73e62d90843bd902c8 LGTM, thanks!
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 2567405cb4..c002f62cac 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -482,6 +482,11 @@ (define* (clang-from-llvm llvm clang-runtime (define (clang-properties version) "Return package properties for Clang VERSION." `((compiler-cpu-architectures + ("powerpc64le" + ;; This list was obtained from clang/test/Misc/target-invalid-cpu-note.c + ;; and then trimmed down. + ,@(if (version>=? version "11.0") + '("power8" "power9" "power10" "powerpc64le"))) ("x86_64" ;; This list was obtained from clang/test/Misc/target-invalid-cpu-note.c ,@(cond