summaryrefslogtreecommitdiff
path: root/etc/release-manifest.scm
diff options
context:
space:
mode:
Diffstat (limited to 'etc/release-manifest.scm')
-rw-r--r--etc/release-manifest.scm25
1 files changed, 18 insertions, 7 deletions
diff --git a/etc/release-manifest.scm b/etc/release-manifest.scm
index 67b92c3921..91471bd03b 100644
--- a/etc/release-manifest.scm
+++ b/etc/release-manifest.scm
@@ -23,6 +23,7 @@
(guix packages)
(guix profiles)
((gnu ci) #:select (%cross-targets))
+ (guix utils)
(srfi srfi-1)
(srfi srfi-26))
@@ -61,11 +62,17 @@ TARGET."
(define %packages-to-cross-build
;; Packages that must be cross-buildable from x86_64-linux.
- (cons (@ (gnu packages gcc) gcc)
- (map specification->package
- '("coreutils" "grep" "sed" "findutils" "diffutils" "patch"
- "gawk" "gettext" "gzip" "xz"
- "hello" "guile@2.2" "zlib"))))
+ ;; FIXME: Add (@ (gnu packages gcc) gcc) when <https://bugs.gnu.org/40463>
+ ;; is fixed.
+ (append (list (@ (gnu packages guile) guile-2.2/fixed))
+ (map specification->package
+ '("coreutils" "grep" "sed" "findutils" "diffutils" "patch"
+ "gawk" "gettext" "gzip" "xz"
+ "hello" "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
;; Cross-compilation triplets for which 'bootstrap-tarballs' must be
@@ -91,8 +98,12 @@ TARGET."
(append-map (lambda (target)
(map (cut package->manifest-entry* <> "x86_64-linux"
#:target target)
- %packages-to-cross-build))
- %cross-targets)))
+ (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" %cross-targets))))
(define %cross-bootstrap-manifest
(manifest