git.fiddlerwoaroof.com
Browse code

feat(tools): force SAFETY 1 optimize policy

Edward Langley authored on 15/11/2023 05:44:41
Showing 1 changed files
... ...
@@ -3,6 +3,7 @@ all: bin bin/git-pick-patch bin/bloomutil bin/zenburn bin/file-indexer bin/cls
3 3
 bin/zenburn: zenburn.lisp
4 4
 	sbcl --lose-on-corruption --disable-ldb --disable-debugger \
5 5
 		  --no-userinit --no-sysinit \
6
+	    --eval "(sb-ext:restrict-compiler-policy 'safety 1)" \
6 7
 		  --eval '(push :fw.dump *features*)' \
7 8
 		  --load zenburn.lisp \
8 9
 		  --eval '(fwoar.zenburn:dump)'
... ...
@@ -14,6 +15,7 @@ bin:
14 15
 bin/bloomutil: bloomutil.lisp
15 16
 	sbcl --disable-debugger \
16 17
 	     --no-userinit \
18
+	     --eval "(sb-ext:restrict-compiler-policy 'safety 1)" \
17 19
 	     --eval '(pushnew :fw.dump *features*)' \
18 20
 	     --load bloomutil.lisp \
19 21
 	     --eval '(fwoar.bloomutil::dump)'
... ...
@@ -22,6 +24,7 @@ bin/bloomutil: bloomutil.lisp
22 24
 bin/file-indexer: file-indexer.lisp
23 25
 	sbcl --disable-debugger \
24 26
 	     --no-userinit \
27
+	     --eval "(sb-ext:restrict-compiler-policy 'safety 1)" \
25 28
 	     --eval '(pushnew :fw.dump *features*)' \
26 29
 	     --load file-indexer.lisp \
27 30
 	     --eval '(fwoar.file-indexer::dump)'
... ...
@@ -29,7 +32,8 @@ bin/file-indexer: file-indexer.lisp
29 32
 
30 33
 bin/git-pick-patch: git-pick-patch.lisp
31 34
 	sbcl --disable-ldb --lose-on-corruption --disable-debugger --no-userinit --no-sysinit \
32
-		  --load "$(HOME)"/quicklisp/setup.lisp \
35
+	     --eval "(sb-ext:restrict-compiler-policy 'safety 1)" \
36
+       --load "$(HOME)"/quicklisp/setup.lisp \
33 37
 	     --eval "(ql:quickload '(:alexandria :serapeum :cl-ppcre))" \
34 38
 	     --load git-pick-patch.lisp \
35 39
 	     --eval '(save-lisp-and-die "bin/git-pick-patch"'" :executable t :toplevel 'git-pick-patch::main :compression t)"
... ...
@@ -37,6 +41,7 @@ bin/git-pick-patch: git-pick-patch.lisp
37 41
 bin/cls: cls.lisp
38 42
 	sbcl --disable-debugger \
39 43
 	     --no-userinit \
44
+	     --eval "(sb-ext:restrict-compiler-policy 'safety 1)" \
40 45
 	     --eval '(pushnew :fw.dump *features*)' \
41 46
 	     --load cls.lisp \
42 47
 	     --eval '(fwoar.cls::dump)'