Skip to content

Commit a136c43

Browse files
committed
WIP Try poiu
1 parent 1e09df1 commit a136c43

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

bootstrap/build0.lisp

+18-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,23 @@
3636
(let ((target-system (uiop:getenvp "KILN_TARGET_SYSTEM")))
3737
(if target-system
3838
(load-system target-system)
39-
(kiln/image:load-all-script-systems)))
39+
(progn
40+
#+sbcl
41+
(handler-case
42+
(progn
43+
(sb-ext:unlock-package :sb-sys)
44+
(let ((key (intern "DEFAULT_INTERRUPT" :sb-sys)))
45+
(unless (fboundp key)
46+
(export key :sb-sys)
47+
(eval
48+
`(defun ,key (signal)
49+
(sb-sys:enable-interrupt signal :default)))))
50+
(sb-ext:lock-package :sb-sys)
51+
(load-system "poiu")
52+
(setf sb-ext:*on-package-variance* '(:warn t)))
53+
(error (e)
54+
(format *error-output* "Could not load POIU: ~a"
55+
e)))
56+
(kiln/image:load-all-script-systems))))
4057
(finish-output *error-output*)
4158
(uiop:quit)

0 commit comments

Comments
 (0)