all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: ci: Cross-build for fewer platforms.
@ 2024-07-01 14:19 Efraim Flashner
  2024-07-05  9:00 ` [bug#71876] " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2024-07-01 14:19 UTC (permalink / raw)
  To: guix-devel, guix-patches; +Cc: Efraim Flashner

* 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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-10 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 14:19 [PATCH] gnu: ci: Cross-build for fewer platforms Efraim Flashner
2024-07-05  9:00 ` [bug#71876] " Ludovic Courtès
2024-07-10 15:59   ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.