GNU bug report logs - #56224
[PATCH] guix: utils: Add as-for-target.

Previous Next

Package: guix-patches;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Sat, 25 Jun 2022 21:31:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56224 in the body.
You can then email your comments to 56224 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56224; Package guix-patches. (Sat, 25 Jun 2022 21:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antero Mejr <antero <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 25 Jun 2022 21:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <antero <at> mailbox.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] guix: utils: Add as-for-target.
Date: Sat, 25 Jun 2022 21:30:32 +0000
* guix/utils.scm (as-for-target): New function.
---
 guix/utils.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/guix/utils.scm b/guix/utils.scm
index 745da98a79..4cfa9d863f 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2018 Steve Sprang <scs <at> stevesprang.com>
 ;;; Copyright © 2022 Taiju HIGASHI <higashi <at> taiju.info>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
+;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -103,6 +104,7 @@ (define-module (guix utils)
             target-riscv64?
             target-64bit?
             ar-for-target
+            as-for-target
             cc-for-target
             cxx-for-target
             ld-for-target
@@ -742,6 +744,11 @@ (define* (ar-for-target #:optional (target (%current-target-system)))
       (string-append target "-ar")
       "ar"))
 
+(define* (as-for-target #:optional (target (%current-target-system)))
+  (if target
+      (string-append target "-as")
+      "as"))
+
 (define* (cc-for-target #:optional (target (%current-target-system)))
   (if target
       (string-append target "-gcc")
-- 
2.36.1





Information forwarded to guix-patches <at> gnu.org:
bug#56224; Package guix-patches. (Thu, 04 Aug 2022 09:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 56224 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Antero Mejr <antero <at> mailbox.org>
Cc: 56224 <at> debbugs.gnu.org
Subject: Re: bug#56224: [PATCH] guix: utils: Add as-for-target.
Date: Thu, 04 Aug 2022 11:12:40 +0200
Hi Antero,

Antero Mejr <antero <at> mailbox.org> skribis:

> * guix/utils.scm (as-for-target): New function.

Out of curiosity, did you encounter packages needing it?  (That hasn’t
been the case so far but maybe we were just lucky.)

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#56224; Package guix-patches. (Thu, 04 Aug 2022 12:03:01 GMT) Full text and rfc822 format available.

Message #11 received at 56224 <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <antero <at> mailbox.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 56224 <at> debbugs.gnu.org
Subject: Re: bug#56224: [PATCH] guix: utils: Add as-for-target.
Date: Thu, 4 Aug 2022 08:02:30 -0400 (EDT)
[Message part 1 (text/html, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 04 Aug 2022 22:02:02 GMT) Full text and rfc822 format available.

Notification sent to Antero Mejr <antero <at> mailbox.org>:
bug acknowledged by developer. (Thu, 04 Aug 2022 22:02:02 GMT) Full text and rfc822 format available.

Message #16 received at 56224-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Antero Mejr <antero <at> mailbox.org>
Cc: 56224-done <at> debbugs.gnu.org
Subject: Re: bug#56224: [PATCH] guix: utils: Add as-for-target.
Date: Fri, 05 Aug 2022 00:00:55 +0200
Hi,

Antero Mejr <antero <at> mailbox.org> skribis:

> Yes, the hare programming language compiler package uses as-for-target. That package is a work in progress: 
> https://issues.guix.gnu.org/55606 
>   
> as-for-target is also mentioned in a comment in rasperrypi.scm, in the raspi-arm64-chainloader package. 

Alright, I see.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Sep 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.