~ salmonella-environment-setup (master) /conf/common/chicken-6.scm
Trap1(import scheme)
2(cond-expand
3 (chicken-4
4 (import chicken files))
5 (chicken-5
6 (import (chicken format)
7 (chicken load)
8 (chicken pathname)
9 (chicken platform)
10 (chicken process)
11 (chicken process-context)))
12 (else
13 (error "Unsupported CHICKEN version.")))
14
15(load-relative "./common.scm")
16
17(chicken-release 6)
18
19(chicken-core-branch "master")
20
21(chicken-bootstrap-prefix (ensure-environment-variable "CHICKEN_6_PREFIX"))
22
23;; FIXME: Needed to use salmonella for C5. Remove this once
24;; salmonella + tools are ported to C6
25(salmonella-path
26 (make-pathname (list (ensure-environment-variable "CHICKEN_5_PREFIX")
27 "bin")
28 "salmonella"))
29
30(skip-eggs
31 (append
32 (case (software-version)
33 ((openbsd) '(inotify))
34 ((freebsd) '(inotify pledge unveil))
35 ((linux) '(pledge unveil)))
36 (skip-eggs)))
37
38(before-make-bootstrap-hook
39 (lambda (chicken-core-dir)
40 (change-directory chicken-core-dir)
41 ;; salmonella-run-publish does not use the configure script, so we
42 ;; have to create config.make.
43 (system* "touch config.make")))
44
45
46;;; Uncomment the lines below to quickly test the workflow (skip
47;;; building CHICKEN and only test one egg)
48;;
49;; (list-eggs (lambda () '(ansi-escape-sequences)))
50;; (pre-built-chicken "/path/to/prebuilt/chicken-6")