Re: ASDF: module and system level dependencies don't work right?

Todd Sabin <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Daniel Barlow <[email protected]> writes:

> On Tue, Dec 13, 2005 at 11:29:29AM -0500, Todd Sabin wrote:
>> >     TS> nil - force nothing (the default)
>> >
>> >     TS> t - force everything, but only in the system named in the
>> >     TS> operate command
>
>> That's probably a bug, but since :force is undocumented it's hard to
>> say.
>
> The short answer is that :force almost never does what you want it to,
> no matter what you wanted.  If you force-rebuild :my-clim-system
> because the fasl format has changed, you probably want the forcing to
> propogate into :mcclim, but you probably don't want to attempt to
> rebuild the system-installed SBCL contrib modules that it in turn
> depends on - and the likelihood is that you don't have the file
> permissions to do so anyway.
>
> I never really came up with a good answer to that.  Maybe it needs the
> concept of a "supersystem" or "project" which would mark the edges of
> a group of related modules that forced operations should stop at the
> edges of

I can see how that's less than ideal, yes.  I'm not that interested in
the :forced option, honestly, other than not breaking it.  I only
brought it up because I used some of its concepts in my :depends-on
fix.  Loosely, if one of a component's dependencies required some
action, then that action becomes forced for the component.  I'm not
sure I did that in a way that is compatible with how :force is
supposed to work.

Could you comment on that issue?  I.e., whether :depends-on is
supposed to work the same way for modules and systems as it does for
files?

Thanks,

-- 
Todd Sabin                                          <[email protected]>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.