Skip to content

Commit 9ce4088

Browse files
committed
Improvements to the make save facility.
1 parent 13bdb2d commit 9ce4088

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ test: $(PGLOADER)
167167
save: ./src/save.lisp $(LISP_SRC)
168168
sbcl --no-userinit --load ./src/save.lisp
169169

170+
check-saved: save
171+
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) CL=$(CL) -C test regress
172+
170173
clean-bundle:
171174
rm -rf $(BUNDLEDIR)
172175
rm -rf $(BUNDLETESTD)/$(BUNDLENAME)/*

src/save.lisp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
when unset."
1313
(or (sb-ext:posix-getenv name) default))
1414

15+
;; So that we can #+pgloader-image some code away, see main.lisp
16+
(push :pgloader-image *features*)
17+
18+
;;;
19+
;;; We need to support *print-circle* for the debug traces of the catalogs,
20+
;;; and while at it let's enforce *print-pretty* too.
21+
;;;
22+
(setf *print-circle* t *print-pretty* t)
23+
24+
1525
(require :asdf) ; should work in SBCL and CCL
1626

1727
(defvar *quicklisp.lisp* "http://beta.quicklisp.org/quicklisp.lisp")

0 commit comments

Comments
 (0)