[slime-devel] swank-loader

Marco Baringer mb at bese.it
Wed Jan 21 08:07:19 UTC 2004


On Martedì, gen 20, 2004, at 22:41 Europe/Rome, Brian Mastenbrook wrote:

> More specifically, the patch attached in this email fixes 
> that.<swank.patch>

unfortunetly asdf load-op does not, by default, load the source file 
but loads the result of (input-files 'load-op component) which, when 
there is a dependency, returns the output-files of the dependency (in 
this case the result of (compile-file-pathname "swank-loader.lisp"). 
what is needed is to get rid of the dependencies on compile-op.

so you'd think that i'd be enough to return nil from 
(component-depends-on compile-op file), ha!. since load-op depends on 
compile-op _for any component_ the system :swank depends on (compile-op 
:swank), which means that asdf will attempt to (perform compile-op 
file) even if this specific file does not directly depend on compile-op.

we end up needing to tell asdf 2 things:

1) uncompiled-cl-source-files depend on nothing.

2) compiling an uncompiled-cl-source-file is always "done."

the attached patch deals with this issue and a few minor openmcl 
issues, pick which pieces to apply.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swank-asd-and-openmcl.diff
Type: application/octet-stream
Size: 2885 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20040121/a3ffd8bd/attachment.obj>
-------------- next part --------------


--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the slime-devel mailing list