~ salmonella-environment-setup (master) /conf/chicken-utf-debugbuild.conf


 1;; -*- scheme -*-
 2(cond-expand
 3 (chicken-5
 4  (import (chicken format)
 5          (chicken load)
 6          (chicken pathname)
 7          (chicken process)))
 8 (else))
 9
10(load-relative "./common/chicken-5.scm")
11(load-relative "./common/debugbuild.scm")
12
13(skip-eggs (append (skip-eggs) '(nanomsg remote-mailbox zmq)))
14
15(define %list-eggs (list-eggs))
16(list-eggs (lambda () (cons 'chicken-blob (%list-eggs))))
17
18(define utf-eggs-dir
19  (make-pathname (work-dir) "utf-eggs"))
20
21(eggs-source-dir utf-eggs-dir)
22
23(chicken-core-branch "utf")
24
25;; Build the bootstrap compiler out of the utf-bootstrap branch then
26;; switch to the utf branch to build the actual CHICKEN for tests.
27(before-make-bootstrap-hook
28 (lambda (chicken-core-dir)
29   (change-directory (work-dir))
30   (system*
31    (sprintf "svn co --username anonymous --password '' https://code.call-cc.org/svn/chicken-eggs/release/utf ~a"
32             (qs utf-eggs-dir)))
33   (print "Switching to utf-bootstrap branch")
34   (change-directory chicken-core-dir)
35   (system* "git fetch origin utf-bootstrap:utf-bootstrap")
36   (system* "git checkout utf-bootstrap")))
37
38(after-make-bootstrap-hook
39 (lambda (chicken-core-dir)
40   (print "Switching to utf branch")
41   (change-directory chicken-core-dir)
42   (system* (sprintf "git checkout ~a" (chicken-core-branch "utf")))))
Trap