maint: Remove unsupported cross-compilation jobs from 'release-manifest.scm'.

* etc/release-manifest.scm (%packages-to-cross-build-for-mingw): New
variable.
(%cross-manifest): Use it.  Remove "riscv64-linux-gnu" from %CROSS-TARGETS.
This commit is contained in:
Ludovic Courtès 2020-04-04 17:35:02 +02:00
parent 3a3b594822
commit d8c8bfcc1f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -23,6 +23,7 @@
(guix packages) (guix packages)
(guix profiles) (guix profiles)
((gnu ci) #:select (%cross-targets)) ((gnu ci) #:select (%cross-targets))
(guix utils)
(srfi srfi-1) (srfi srfi-1)
(srfi srfi-26)) (srfi srfi-26))
@ -67,6 +68,10 @@ (define %packages-to-cross-build
"gawk" "gettext" "gzip" "xz" "gawk" "gettext" "gzip" "xz"
"hello" "guile@2.2" "zlib")))) "hello" "guile@2.2" "zlib"))))
(define %packages-to-cross-build-for-mingw
;; Many things don't build for MinGW. Restrict to what's known to work.
(map specification->package '("hello")))
(define %cross-bootstrap-targets (define %cross-bootstrap-targets
;; Cross-compilation triplets for which 'bootstrap-tarballs' must be ;; Cross-compilation triplets for which 'bootstrap-tarballs' must be
;; buildable. ;; buildable.
@ -91,8 +96,12 @@ (define %cross-manifest
(append-map (lambda (target) (append-map (lambda (target)
(map (cut package->manifest-entry* <> "x86_64-linux" (map (cut package->manifest-entry* <> "x86_64-linux"
#:target target) #:target target)
%packages-to-cross-build)) (if (target-mingw? target)
%cross-targets))) %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" %cross-targets))))
(define %cross-bootstrap-manifest (define %cross-bootstrap-manifest
(manifest (manifest