GNU bug report logs - #71876
[PATCH] gnu: ci: Cross-build for fewer platforms.

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Mon, 1 Jul 2024 14:21:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 71876 in the body.
You can then email your comments to 71876 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#71876; Package guix-patches. (Mon, 01 Jul 2024 14:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 01 Jul 2024 14:21:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: guix-devel <at> gnu.org,
	guix-patches <at> gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH] gnu: ci: Cross-build for fewer platforms.
Date: Mon,  1 Jul 2024 17:19:47 +0300
* gnu/ci.scm (%dead-platform-triplets): New variable.
(cross-jobs): Also don't build for systems listed in
%dead-platform-triplets.

Change-Id: Ic31ae6d307f2d243c098ec050bdb9d09060466ac
---
 gnu/ci.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/ci.scm b/gnu/ci.scm
index 95c63067a8d..b9d7459bea2 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -177,6 +177,13 @@ (define %bare-platform-triplets
     "or1k-elf"
     "xtensa-ath9k-elf"))
 
+(define %dead-platform-triplets
+  ;; These systems are kept around for nostalgia or for tinkering, but regular
+  ;; CI is disabled for them to reduce the load on CI infrastructure.
+  '("mips64el-linux-gnu"
+    "powerpc-linux-gnu"
+    "powerpc64-linux-gnu"))
+
 (define (cross-jobs store system)
   "Return a list of cross-compilation jobs for SYSTEM."
   (define (from-32-to-64? target)
@@ -200,6 +207,7 @@ (define (cross-jobs store system)
   (define (pointless? target)
     ;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM.
     (or (member target %bare-platform-triplets)
+        (member target %dead-platform-triplets)
         (match system
           ((or "x86_64-linux" "i686-linux")
            (if (string-contains target "mingw")

base-commit: ab41f5ec1cf559708165e1cd28e15538e6a197d6
-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





Information forwarded to guix-patches <at> gnu.org:
bug#71876; Package guix-patches. (Fri, 05 Jul 2024 09:02:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: guix-devel <at> gnu.org, 71876 <at> debbugs.gnu.org
Subject: Re: [bug#71876] [PATCH] gnu: ci: Cross-build for fewer platforms.
Date: Fri, 05 Jul 2024 11:00:52 +0200
Hi,

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> * gnu/ci.scm (%dead-platform-triplets): New variable.
> (cross-jobs): Also don't build for systems listed in
> %dead-platform-triplets.
>
> Change-Id: Ic31ae6d307f2d243c098ec050bdb9d09060466ac

[...]

> +(define %dead-platform-triplets
> +  ;; These systems are kept around for nostalgia or for tinkering, but regular
> +  ;; CI is disabled for them to reduce the load on CI infrastructure.
> +  '("mips64el-linux-gnu"
> +    "powerpc-linux-gnu"
> +    "powerpc64-linux-gnu"))

I’d change “dead” to “unsupported” but apart from that I think it’s a
good idea.  (And it’s good to cater to the needs of the nostalgic among
us too :-))

Ludo’.




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Wed, 10 Jul 2024 16:01:01 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Wed, 10 Jul 2024 16:01:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: guix-devel <at> gnu.org, 71876-done <at> debbugs.gnu.org
Subject: Re: [bug#71876] [PATCH] gnu: ci: Cross-build for fewer platforms.
Date: Wed, 10 Jul 2024 18:59:33 +0300
[Message part 1 (text/plain, inline)]
On Fri, Jul 05, 2024 at 11:00:52AM +0200, Ludovic Courtès wrote:
> Hi,
> 
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > * gnu/ci.scm (%dead-platform-triplets): New variable.
> > (cross-jobs): Also don't build for systems listed in
> > %dead-platform-triplets.
> >
> > Change-Id: Ic31ae6d307f2d243c098ec050bdb9d09060466ac
> 
> [...]
> 
> > +(define %dead-platform-triplets
> > +  ;; These systems are kept around for nostalgia or for tinkering, but regular
> > +  ;; CI is disabled for them to reduce the load on CI infrastructure.
> > +  '("mips64el-linux-gnu"
> > +    "powerpc-linux-gnu"
> > +    "powerpc64-linux-gnu"))
> 
> I’d change “dead” to “unsupported” but apart from that I think it’s a
> good idea.  (And it’s good to cater to the needs of the nostalgic among
> us too :-))

Sounds good to me.

Changes made and pushed!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Aug 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 70 days ago.

Previous Next


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