mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
utils: Define target-ppc64le? predicate.
* guix/utils.scm (target-ppc64le?): New predicate.
This commit is contained in:
parent
3567b916d3
commit
ab18997f1c
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,7 @@
|
||||||
target-aarch64?
|
target-aarch64?
|
||||||
target-arm?
|
target-arm?
|
||||||
target-ppc32?
|
target-ppc32?
|
||||||
|
target-ppc64le?
|
||||||
target-powerpc?
|
target-powerpc?
|
||||||
target-64bit?
|
target-64bit?
|
||||||
cc-for-target
|
cc-for-target
|
||||||
|
@ -695,6 +696,10 @@ architecture (x86_64)?"
|
||||||
(%current-system))))
|
(%current-system))))
|
||||||
(string-prefix? "powerpc-" target))
|
(string-prefix? "powerpc-" target))
|
||||||
|
|
||||||
|
(define* (target-ppc64le? #:optional (target (or (%current-target-system)
|
||||||
|
(%current-system))))
|
||||||
|
(string-prefix? "powerpc64le-" target))
|
||||||
|
|
||||||
(define* (target-powerpc? #:optional (target (or (%current-target-system)
|
(define* (target-powerpc? #:optional (target (or (%current-target-system)
|
||||||
(%current-system))))
|
(%current-system))))
|
||||||
(string-prefix? "powerpc" target))
|
(string-prefix? "powerpc" target))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue