loading contribs without asdf at runtime
Bug #1132254 reported by
Faré
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I'd like the ability for contribs to be each distributed as a single .fasl file.
Here is a patch that does it.
The catch is that this version gives lowest priority to the contribs, rather than topmost. This can be fixed in a further iteration, but the hard work is done. I had to update ASDF for that, and SBCL should probably wait for the next ASDF release (as well as SBCL unfreeze) to commit, but for the record, here it is.
Changed in sbcl: | |
importance: | Undecided → Wishlist |
tags: | added: review |
Changed in sbcl: | |
status: | New → Triaged |
Changed in sbcl: | |
status: | Triaged → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Much improved patch. Removes the magic that appends code to asdf, so SBCL uses a pristine asdf.lisp from upstream.
Instead, creates one trivial .asd file for each contrib except asdf itself (so that it can be upgraded the asdf way).
Many tweaks to the contribs (mainly their .asd files, but not exclusively), so they build cleanly in this setup. Notably make sb-cover play nicely with logical-pathnames, and sb-introspect/tests DTRT with forcing the test file to be compile every time (so we can introspect the effects to (eval-when (:compile-toplevel) ...).
Also, moves all intermediate output from contrib build from contrib/ to obj/asdf-cache/
Also, creates a obj/sbcl-home/ hierarchy that is used as the $SBCL_HOME for run-sbcl.sh. Ideally, sbcl.core would be moved there, too, instead of being put in output/, and that would simplify some code.
Also, updated ASDF to 2.30.8, which includes some tweaks to make it all work.