cirrus ci: test freebsd with --with-sb-core-compression
[sbcl.git] / cload-xc.lisp
blobd978b0547ef417362988f2c20f9798b68ecf7a2e
1 ;;; This can be loaded into Slime, xc-compile-file will produce trace output
2 (load "src/cold/shared.lisp")
3 (in-package "SB-COLD")
4 (setf *host-obj-prefix* "obj/from-host/")
5 (pushnew :sb-xc-host *features*)
6 (pushnew :sb-xc-host-interactive *features*)
8 (load "src/cold/set-up-cold-packages.lisp")
9 (load "src/cold/defun-load-or-cload-xcompiler.lisp")
11 (load-or-cload-xcompiler #'host-cload-stem)
13 (defun xc-compile-file (file)
14 (sb-c::init-xc-policy)
15 (sb-xc:with-compilation-unit ()
16 (sb-xc:compile-file file :trace-file *standard-output*)
17 (setf sb-c::*undefined-warnings* nil)))