From fe149b01d0b65f421602f8bc794a926434f5d9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 1 Sep 2022 14:31:49 +0200 Subject: [PATCH] maint: Ignore cross-compilation to x86. This is consistent with what's done by 'cross-jobs' in (gnu ci). * etc/release-manifest.scm (%cross-manifest): Remove "x86_64-linux-gnu" and "i686-linux-gnu" from the list returned by 'targets'. --- etc/release-manifest.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/etc/release-manifest.scm b/etc/release-manifest.scm index dd70068490..e2be7f0eee 100644 --- a/etc/release-manifest.scm +++ b/etc/release-manifest.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020, 2021 Ludovic Courtès +;;; Copyright © 2020-2022 Ludovic Courtès ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. @@ -26,6 +26,7 @@ ((guix platform) #:select (targets)) ((gnu services xorg) #:select (%default-xorg-modules)) (guix utils) + (guix gexp) (srfi srfi-1) (srfi srfi-26)) @@ -142,9 +143,16 @@ TARGET." (if (target-mingw? target) %packages-to-cross-build-for-mingw %packages-to-cross-build))) - ;; XXX: Important bits like libsigsegv and libffi don't support - ;; RISCV at the moment, so don't require RISCV support. - (delete "riscv64-linux-gnu" (targets))))) + (fold delete (targets) + '(;; Like in (gnu ci), dismiss cross-compilation to x86: + ;; it's pointless. + "x86_64-linux-gnu" + "i686-linux-gnu" + + ;; XXX: Important bits like libsigsegv and libffi don't + ;; support RISCV at the moment, so don't require RISCV + ;; support. + "riscv64-linux-gnu"))))) (define %cross-bootstrap-manifest (manifest