~ salmonella-environment-setup (master) bb5701904b812ff224527ea6aa8b1b3468577e75


commit bb5701904b812ff224527ea6aa8b1b3468577e75
Author:     Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Mon Dec 14 19:09:47 2020 +0100
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Mon Dec 14 19:09:47 2020 +0100

    Add config files for builds with OPTIMIZE_FOR_SPEED

diff --git a/conf/chicken-5-speed.conf b/conf/chicken-5-speed.conf
new file mode 100644
index 0000000..53ca470
--- /dev/null
+++ b/conf/chicken-5-speed.conf
@@ -0,0 +1,9 @@
+;; -*- scheme -*-
+(cond-expand
+ (chicken-5
+  (import (chicken load)))
+ (else))
+
+(load-relative "./common/common.scm")
+(load-relative "./common/chicken-5.scm")
+(load-relative "./common/speed.scm")
diff --git a/conf/common/speed.scm b/conf/common/speed.scm
new file mode 100644
index 0000000..0e6fcac
--- /dev/null
+++ b/conf/common/speed.scm
@@ -0,0 +1,5 @@
+(optimize-for-speed? #t)
+
+(branch-publish-transformer
+  (lambda (branch)
+    (string-append branch "-speed")))
Trap