From 195e81aa5260bab340cbafe42bc3192b23d38505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 16 Jul 2013 09:59:25 +0200 Subject: [PATCH] hydra: Distinguish between jobs for different system types. * build-aux/hydra/gnu-system.scm (package-job, package-cross-job): Append `.SYSTEM' to the job name. --- build-aux/hydra/gnu-system.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm index 57f98dfa33..6518f2b4aa 100644 --- a/build-aux/hydra/gnu-system.scm +++ b/build-aux/hydra/gnu-system.scm @@ -67,12 +67,15 @@ (define (package-job store job-name package system) "Return a job called JOB-NAME that builds PACKAGE on SYSTEM." - `(,job-name . ,(cut package->alist store package system))) + (let ((job-name (symbol-append job-name (string->symbol ".") + (string->symbol system)))) + `(,job-name . ,(cut package->alist store package system)))) (define (package-cross-job store job-name package target system) "Return a job called TARGET.JOB-NAME that cross-builds PACKAGE for TARGET on SYSTEM." - `(,(symbol-append (string->symbol target) (string->symbol ".") job-name) . + `(,(symbol-append (string->symbol target) (string->symbol ".") job-name + (string->symbol ".") (string->symbol system)) . ,(cute package->alist store package system (cut package-cross-derivation <> <> target <>))))