[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: utils: Add target-mips64el?.
From: |
guix-commits |
Subject: |
08/09: utils: Add target-mips64el?. |
Date: |
Thu, 4 Aug 2022 18:16:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 94e0fb1eb7409b3cd1a3e0528c2f199c5a2f48d5
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Tue Jul 19 20:05:45 2022 +0200
utils: Add target-mips64el?.
* guix/utils.scm (target-mips64el?): New function. It detects whether the
target system is mips64el.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/utils.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/guix/utils.scm b/guix/utils.scm
index b992b49815..aca0af4e4b 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -102,6 +102,7 @@
target-ppc64le?
target-powerpc?
target-riscv64?
+ target-mips64el?
target-64bit?
ar-for-target
as-for-target
@@ -734,6 +735,10 @@ architecture (x86_64)?"
"Is the architecture of TARGET a 'riscv64' machine?"
(string-prefix? "riscv64" target))
+(define* (target-mips64el? #:optional (target (or (%current-target-system)
+ (%current-system))))
+ (string-prefix? "mips64el-" target))
+
(define* (target-64bit? #:optional (system (or (%current-target-system)
(%current-system))))
(any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64"
- branch master updated (6048c05592 -> a5a88b0248), guix-commits, 2022/08/04
- 02/09: utils: Add as-for-target., guix-commits, 2022/08/04
- 03/09: disarchive-manifest: Handle tar.xz archives., guix-commits, 2022/08/04
- 01/09: doc: Fix Guix manual URLs in 'htmlxref.cnf'., guix-commits, 2022/08/04
- 05/09: gnu: lightdm: Add bash-minimal as an input., guix-commits, 2022/08/04
- 06/09: gnu: Add lkrg., guix-commits, 2022/08/04
- 07/09: gnu: openssl: Cross-compile to mingw., guix-commits, 2022/08/04
- 04/09: gnu: emacs-next: Enable SQLite3 support., guix-commits, 2022/08/04
- 08/09: utils: Add target-mips64el?.,
guix-commits <=
- 09/09: gnu: openssl: Use 'target-*' predicates from (guix utils)., guix-commits, 2022/08/04