me
/
guix
Archived
1
0
Fork 0

hydra: Remove cross-builds from i686-linux to mips64el-linux-gnuabi64.

* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Define
  'from-32-to-64?'.  Filter out %CROSS-TARGETS that match.
master
Ludovic Courtès 2014-03-25 13:55:56 +01:00
parent 707c8b2ca7
commit e795890212
1 changed files with 8 additions and 1 deletions

View File

@ -129,12 +129,19 @@ SYSTEM."
(compose string->symbol package-full-name))
(define (cross-jobs system)
(define (from-32-to-64? target)
;; Return true if SYSTEM is 32-bit and TARGET is 64-bit.
;; This hacks prevents known-to-fail cross-builds from i686-linux to
;; mips64el-linux-gnuabi64.
(and (string-prefix? "i686-" system)
(string-suffix? "64" target)))
(append-map (lambda (target)
(map (lambda (package)
(package-cross-job store (job-name package)
package target system))
%packages-to-cross-build))
%cross-targets))
(remove from-32-to-64? %cross-targets)))
;; Return one job for each package, except bootstrap packages.
(let ((base-packages (delete-duplicates