diff options
-rw-r--r-- | gnu/packages/llvm.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 2567405cb48..c002f62cacf 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -482,6 +482,11 @@ code analysis tools.") (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 |