0.6.12.46:
[sbcl.git] / make-target-2.sh
index 03d53aa..a819188 100644 (file)
@@ -41,13 +41,18 @@ echo //doing warm init
         ;; in SAVE-LISP-AND-DIE.
         #-sb-fluid (sb-impl::!unintern-init-only-stuff)
 
+       ;; FIXME: Why is it that, at least on x86 sbcl-0.6.12.46,
+       ;; GC :FULL T isn't nearly as effective as PURIFY here?
+       ;; (GC :FULL T gets us down to about 38 Mbytes, but PURIFY
+       ;; gets us down to about 19 Mbytes.)
+       (let ((*gc-notify-stream* *standard-output*))
+         (sb-int:/show "done with warm.lisp, about to GC :FULL T")
+         (gc :full t))
+
         (sb-int:/show "done with warm.lisp, about to SAVE-LISP-AND-DIE")
        ;; Even if /SHOW output was wanted during build, it's probably
        ;; not wanted by default after build is complete. (And if it's
        ;; wanted, it can easily be turned back on.)
        #+sb-show (setf sb-int:*/show* nil)
-        ;; REMOVEME: This is supposed to be :PURIFY T, the :PURIFY NIL
-       ;; is a hopefully-very-short-lived workaround for a bug in
-       ;; sbcl-0.6.12.8.
-       (sb-ext:save-lisp-and-die "output/sbcl.core" :purify nil)
+       (sb-ext:save-lisp-and-die "output/sbcl.core" :purify t)
        EOF