From 9c2383ceb1a6f588af7b08ed901ee71b8d8fab17 Mon Sep 17 00:00:00 2001 From: "Paul M. Rodriguez" Date: Sun, 1 Dec 2024 12:08:56 -0600 Subject: [PATCH] WIP Try poiu --- bootstrap/build0.lisp | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bootstrap/build0.lisp b/bootstrap/build0.lisp index 8a344d4..ea1dfc8 100644 --- a/bootstrap/build0.lisp +++ b/bootstrap/build0.lisp @@ -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)