gnu: clang-properties: Add micro-architecture support for powerpc64le.

* gnu/packages/llvm.scm (clang-properties): Add entry for powerpc64le.

Change-Id: I89f300922270a1f35aa08e73e62d90843bd902c8
This commit is contained in:
Efraim Flashner 2024-03-06 12:28:08 +02:00
parent 7fd57fdd83
commit e8c9043183
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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