summaryrefslogtreecommitdiff
path: root/make-host-1.lisp
diff options
context:
space:
mode:
authorDouglas Katzman <dougk@google.com>2015-10-16 21:43:03 -0400
committerDouglas Katzman <dougk@google.com>2015-10-16 21:43:03 -0400
commit875cb432f39d6213ef496445378124e491498d99 (patch)
tree2ff12f478022807ffb81d50a03aa92bc5e04ef42 /make-host-1.lisp
parentb0581766792ca79261b8cc6f3a14c3c074d1e568 (diff)
Possibly unbreak the build under CLISP. Haven't waited for it to finish.
Diffstat (limited to 'make-host-1.lisp')
-rw-r--r--make-host-1.lisp20
1 files changed, 16 insertions, 4 deletions
diff --git a/make-host-1.lisp b/make-host-1.lisp
index fa8cb0ab8..8ad5ffa12 100644
--- a/make-host-1.lisp
+++ b/make-host-1.lisp
@@ -16,10 +16,19 @@
(set-dispatch-macro-character #\# #\- #'she-reader)
;; Supress function/macro redefinition warnings under clisp.
-#+clisp (setf custom:*suppress-check-redefinition* t)
+#+clisp
+(progn (setf custom:*suppress-check-redefinition* t)
+ ;; A compilation-unit seems to kill the compile. I'm not sure if it's
+ ;; running out of memory or what. I don't care to find out,
+ ;; but it's most definitely the cause of the breakage.
+ (defmacro maybe-with-compilation-unit (&body forms)
+ `(progn ,@forms)))
+#-clisp
+(defmacro maybe-with-compilation-unit (&body forms)
+ `(with-compilation-unit () ,@forms))
-(with-compilation-unit ()
- (load-or-cload-xcompiler #'host-cload-stem))
+(maybe-with-compilation-unit
+ (load-or-cload-xcompiler #'host-cload-stem))
;;; Let's check that the type system, and various other things, are
;;; reasonably sane. (It's easy to spend a long time wandering around
@@ -28,7 +37,10 @@
(load "tests/type.before-xc.lisp")
(load "tests/info.before-xc.lisp")
(load "tests/vm.before-xc.lisp"))
-(load "tools-for-build/ucd.lisp")
+;; When building on a slow host using a slow Lisp,
+;; the wait time in slurp-ucd seems interminable - over a minute.
+;; Compiling seems to help a bit, but maybe it's my imagination.
+(load (compile-file "tools-for-build/ucd.lisp"))
;;; Generate character database tables.
(sb-cold::slurp-ucd)