~ salmonella-environment-setup (master) a9c36a30c91443cbd31c59d447487943caca7b48
commit a9c36a30c91443cbd31c59d447487943caca7b48
Author: Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Sun Jun 4 12:29:59 2023 +0200
Commit: Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sun Jun 4 12:30:02 2023 +0200
Add chicken-5-utf-debugbuild.conf
Configuration file to build CHICKEN out of the utf branch (requires
the bootstrap compiler from the utf-bootstrap branch).
diff --git a/conf/chicken-5-utf-debugbuild.conf b/conf/chicken-5-utf-debugbuild.conf
new file mode 100644
index 0000000..5b218f3
--- /dev/null
+++ b/conf/chicken-5-utf-debugbuild.conf
@@ -0,0 +1,37 @@
+;; -*- scheme -*-
+(cond-expand
+ (chicken-5
+ (import (chicken format)
+ (chicken load)
+ (chicken pathname)
+ (chicken process)))
+ (else))
+
+(load-relative "./common/chicken-5.scm")
+(load-relative "./common/debugbuild.scm")
+
+(define utf-eggs-dir
+ (make-pathname (tmp-dir) "utf-eggs"))
+
+(eggs-source-dir utf-eggs-dir)
+
+(chicken-core-branch "utf")
+
+;; Build the bootstrap compiler out of the utf-bootstrap branch then
+;; switch to the utf branch to build the actual CHICKEN for tests.
+(before-make-bootstrap-hook
+ (lambda (chicken-source-dir)
+ (change-directory (tmp-dir))
+ (system*
+ (sprintf "svn co https://code.call-cc.org/svn/chicken-eggs/release/utf ~a"
+ (qs utf-eggs-dir)))
+ (print "Switching to utf-bootstrap branch")
+ (change-directory chicken-source-dir)
+ (system* "git fetch origin utf-bootstrap:utf-bootstrap")
+ (system* "git checkout utf-bootstrap")))
+
+(after-make-bootstrap-hook
+ (lambda (chicken-source-dir)
+ (print "Switching to utf branch")
+ (change-directory chicken-source-dir)
+ (system* (sprintf "git checkout ~a" (chicken-core-branch "utf")))))
Trap