mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
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:
parent
7fd57fdd83
commit
e8c9043183
1 changed files with 5 additions and 0 deletions
|
@ -482,6 +482,11 @@ (define* (clang-from-llvm llvm clang-runtime
|
||||||
(define (clang-properties version)
|
(define (clang-properties version)
|
||||||
"Return package properties for Clang VERSION."
|
"Return package properties for Clang VERSION."
|
||||||
`((compiler-cpu-architectures
|
`((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"
|
("x86_64"
|
||||||
;; This list was obtained from clang/test/Misc/target-invalid-cpu-note.c
|
;; This list was obtained from clang/test/Misc/target-invalid-cpu-note.c
|
||||||
,@(cond
|
,@(cond
|
||||||
|
|
Loading…
Reference in a new issue