[Asdf-devel] Registering preloaded systems for Quicklisp/ASDF

Dave Cooper david.cooper at genworks.com
Sun Aug 10 20:06:58 UTC 2014


On Sat, Aug 9, 2014 at 5:16 PM, Faré <fahree at gmail.com> wrote:

> Sorry, but doesn't it work to set *immutable-systems* AFTER you load
> everything?
>

No, it doesn't, because we never actually load anything via ASDF.
Everything was preloaded into the built image, using
monolithic-compile-bundles, sans actual ASDF.


> I admit there not yet a test for this functionality in the asdf test suite;
> it may be that the functionality is buggy and/or its API suboptimal,
> and you're welcome to suggest patches and/or suggestions.


Ok, here is a patch (against 3.1.3.2 of master) which:

 o Makes it check for sysdef-preloaded-system-search as well as
system-registered-p, when doing sysdef-immutable-system-search and when
checking for *immutable-systems* in find-system. (previously it was only
checking system-registered-p).

 o Adds a function asdf/find-system:register-immutable-system which adds
the requested system to the *immutable-systems* as well as calls
register-preloaded-system with it.



-- 
My Best,

Dave Cooper, Genworks Support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20140810/c26eedf3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-register-immutable-system.patch
Type: application/octet-stream
Size: 2742 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20140810/c26eedf3/attachment.obj>


More information about the asdf-devel mailing list