Skip to content

Commit

Permalink
WIP Try poiu
Browse files Browse the repository at this point in the history
  • Loading branch information
ruricolist committed Dec 13, 2024
1 parent a586758 commit 9c2383c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion bootstrap/build0.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,23 @@
(let ((target-system (uiop:getenvp "KILN_TARGET_SYSTEM")))
(if target-system
(load-system target-system)
(kiln/image:load-all-script-systems)))
(progn
#+sbcl
(handler-case
(progn
(sb-ext:unlock-package :sb-sys)
(let ((key (intern "DEFAULT_INTERRUPT" :sb-sys)))
(unless (fboundp key)
(export key :sb-sys)
(eval
`(defun ,key (signal)
(sb-sys:enable-interrupt signal :default)))))
(sb-ext:lock-package :sb-sys)
(load-system "poiu")
(setf sb-ext:*on-package-variance* '(:warn t)))
(error (e)
(format *error-output* "Could not load POIU: ~a"
e)))
(kiln/image:load-all-script-systems))))
(finish-output *error-output*)
(uiop:quit)

0 comments on commit 9c2383c

Please sign in to comment.