From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 55343@debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Subject: [bug#55343] [PATCH 1/2] utils: Define 'target-x86?' predicate.
Date: Tue, 10 May 2022 01:24:50 +0200 [thread overview]
Message-ID: <20220509232451.30605-1-GNUtoo@cyberdimension.org> (raw)
In-Reply-To: <20220510011812.15710e0b@primarylaptop.localdomain>
* guix/utils.scm (target-x86?): New predicate.
---
guix/utils.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/guix/utils.scm b/guix/utils.scm
index 44c46cb4a9..a9d8819770 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2018 Steve Sprang <scs@stevesprang.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -91,6 +92,7 @@ (define-module (guix utils)
target-mingw?
target-x86-32?
target-x86-64?
+ target-x86?
target-arm32?
target-aarch64?
target-arm?
@@ -683,6 +685,10 @@ (define* (target-x86-64? #:optional (target (or (%current-target-system)
architecture (x86_64)?"
(string-prefix? "x86_64-" target))
+(define* (target-x86? #:optional (target (or (%current-target-system)
+ (%current-system))))
+ (or (target-x86-32? target) (target-x86-64? target)))
+
(define* (target-arm32? #:optional (target (or (%current-target-system)
(%current-system))))
(string-prefix? "arm" target))
base-commit: 37e44d48baf976f6bfcd885b2e10da4ab7be4af9
--
2.36.0
next prev parent reply other threads:[~2022-05-09 23:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 23:18 [bug#55343] Add support for 32bit UEFI Denis 'GNUtoo' Carikli
2022-05-09 23:24 ` Denis 'GNUtoo' Carikli [this message]
2022-05-09 23:24 ` [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems Denis 'GNUtoo' Carikli
2022-05-10 9:32 ` Maxime Devos
2022-05-10 21:39 ` Denis 'GNUtoo' Carikli
2022-05-11 9:07 ` Maxime Devos
2022-05-11 17:35 ` Denis 'GNUtoo' Carikli
2022-05-11 17:00 ` Denis 'GNUtoo' Carikli
2022-05-11 17:19 ` Maxime Devos
2022-05-11 17:25 ` Maxime Devos
2022-05-18 13:50 ` Denis 'GNUtoo' Carikli
2022-06-11 16:41 ` Denis 'GNUtoo' Carikli
2022-06-17 20:36 ` [bug#55343] Add support for 32bit UEFI Ludovic Courtès
2022-06-18 5:18 ` Timothy Sample
2022-06-19 19:02 ` Mathieu Othacehe
2022-06-24 8:23 ` bug#55343: " Mathieu Othacehe
2022-06-11 19:52 ` [bug#55343] [PATCH 2/2] image: Add new efi32-raw format for 32bit UEFI on 64bit systems Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220509232451.30605-1-GNUtoo@cyberdimension.org \
--to=gnutoo@cyberdimension.org \
--cc=55343@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).