[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/23: utils: Add target-powerpc? procedure.
From: |
guix-commits |
Subject: |
03/23: utils: Add target-powerpc? procedure. |
Date: |
Thu, 11 Mar 2021 02:04:59 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit 4bd672cb41f71a309566dde9397dab90a4389ab7
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 96cd8c7..e7a7be4 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -83,6 +84,7 @@
target-arm32?
target-aarch64?
target-arm?
+ target-powerpc?
target-64bit?
cc-for-target
cxx-for-target
@@ -555,6 +557,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 wip-ppc64le created (now e8b83e7), guix-commits, 2021/03/11
- 02/23: gnu: gcc-boot0: Enable 128-bit long double for POWER9., guix-commits, 2021/03/11
- 06/23: gnu: gcc-4.7: On powerpc64le, fix /lib64 references., guix-commits, 2021/03/11
- 09/23: gnu: guile-avahi: Fix compilation on powerpc64le-linux., guix-commits, 2021/03/11
- 01/23: gnu: bootstrap: Add support for powerpc64le-linux., guix-commits, 2021/03/11
- 10/23: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 12/23: gnu: libelf: Fix compilation for powerpc64le-linux., guix-commits, 2021/03/11
- 14/23: syscalls: Fix clone on powerpc64le-linux., guix-commits, 2021/03/11
- 03/23: utils: Add target-powerpc? procedure.,
guix-commits <=
- 07/23: gnu: glibc: Fix ldd path on powerpc*., guix-commits, 2021/03/11
- 05/23: gnu: binutils-final: Support more Power architectures., guix-commits, 2021/03/11
- 04/23: gnu: binutils-final: Provide bash for binary on powerpc-linux., guix-commits, 2021/03/11
- 11/23: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 19/23: tests: pack: Fix %gzip-compressor and a failing test., guix-commits, 2021/03/11
- 16/23: ci: %cross-targets: Add powerpc64le-linux-gnu., guix-commits, 2021/03/11
- 23/23: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH., guix-commits, 2021/03/11
- 17/23: utils: Fix target-64bit? on powerpc64le-linux., guix-commits, 2021/03/11
- 21/23: gnu: gcc: Set gcc-8 as default., guix-commits, 2021/03/11
- 13/23: Add powerpc64le-linux as a supported Guix architecture., guix-commits, 2021/03/11