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.

Full log


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





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

Previous Next


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