From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org, guix-patches@gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [PATCH] gnu: ci: Cross-build for fewer platforms.
Date: Mon, 1 Jul 2024 17:19:47 +0300 [thread overview]
Message-ID: <07545d0d319e4b3450ef4fb2865abb6c36d1837a.1719729766.git.efraim@flashner.co.il> (raw)
* 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
next reply other threads:[~2024-07-01 14:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-01 14:19 Efraim Flashner [this message]
2024-07-05 9:00 ` [bug#71876] [PATCH] gnu: ci: Cross-build for fewer platforms Ludovic Courtès
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=07545d0d319e4b3450ef4fb2865abb6c36d1837a.1719729766.git.efraim@flashner.co.il \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=guix-patches@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).