[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/18: utils: Add target-powerpc? procedure.
From: |
guix-commits |
Subject: |
02/18: utils: Add target-powerpc? procedure. |
Date: |
Wed, 24 Mar 2021 02:25:10 -0400 (EDT) |
marusich pushed a commit to branch master
in repository guix.
commit fc7cf0c1ecc1ab6d59bab0040be917d5900d98f1
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Tue Feb 2 00:00:57 2021 -0800
utils: Add target-powerpc? procedure.
* guix/utils.scm (target-powerpc?): New exported procedure.
---
guix/utils.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/guix/utils.scm b/guix/utils.scm
index 21e3460..fc57620 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2018, 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -79,6 +80,7 @@
target-arm32?
target-aarch64?
target-arm?
+ target-powerpc?
target-64bit?
cc-for-target
cxx-for-target
@@ -541,6 +543,10 @@ a character other than '@'."
(%current-system))))
(or (target-arm32? target) (target-aarch64? target)))
+(define* (target-powerpc? #:optional (target (or (%current-target-system)
+ (%current-system))))
+ (string-prefix? "powerpc" target))
+
(define* (target-64bit? #:optional (system (or (%current-target-system)
(%current-system))))
(any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" "ppc64")))
- branch master updated (dc68018 -> 65c46e7), guix-commits, 2021/03/24
- 01/18: gnu: bootstrap: Add support for powerpc64le-linux., guix-commits, 2021/03/24
- 05/18: gnu: gcc-boot0: Enable 128-bit long double for POWER9., guix-commits, 2021/03/24
- 08/18: gnu: bdb-4.8: Fix configure on powerpc64le-linux., guix-commits, 2021/03/24
- 09/18: gnu: guile-avahi: Fix compilation on powerpc64le-linux., guix-commits, 2021/03/24
- 02/18: utils: Add target-powerpc? procedure.,
guix-commits <=
- 10/18: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/03/24
- 11/18: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/03/24
- 13/18: Add powerpc64le-linux as a supported Guix architecture., guix-commits, 2021/03/24
- 18/18: gnu: sed: Make it build on SELinux-enabled kernels., guix-commits, 2021/03/24
- 03/18: gnu: gcc-4.7: On powerpc64le, fix /lib64 references., guix-commits, 2021/03/24
- 04/18: gnu: glibc: Fix ldd path on powerpc*., guix-commits, 2021/03/24
- 06/18: gnu: binutils-final: Provide bash for binary on powerpc-linux., guix-commits, 2021/03/24
- 07/18: gnu: binutils-final: Support more Power architectures., guix-commits, 2021/03/24
- 12/18: gnu: libelf: Fix compilation for powerpc64le-linux., guix-commits, 2021/03/24
- 15/18: syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux., guix-commits, 2021/03/24