Re: ASDF and Allegro libs
"Nick Allen" <[email protected]> Mon, 16 Apr 2007 15:09:04 -0700
| Newsgroups | gmane.lisp.allegro,gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_101051_10760669.1176761344942 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 4/16/07, Gary King <[email protected]> wrote: > > Hi Nick, > > (I've forwarded this on to the CCLAN list too) > > Off hand, I don't know of any other solution. One thing that comes to > mind is to create a system search plug in (I forgot what ASDF calls > them) so that a clause like > > :depends-on (:acache :aserve ...) I dunno... this would be a solution for my specific problem at this moment, but this seems to me to be a general problem that could be solved with a general solution... what if we added another option to defsystem's :components initarg that was a hook into cl:require? so that way ppl can (defsystem :foo :components ((:module "m1" :depends-on ("n2" #-allegro :cl-ppcre) :requires (#+allegro "regexp2)) ... ? or maybe it would be better to call it :require-unportable-module or something since cl:require is `depricated'... would cause ASDF to issue the require command. If you're at all > interested in this solution, I'd be happy to make it walk and talk > like a duck. thanks for the offer :-) take care Nick ------=_Part_101051_10760669.1176761344942 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <br><br> <div><span class="gmail_quote">On 4/16/07, <b class="gmail_sendername">Gary King</b> <<a href="mailto:[email protected]">[email protected]</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Nick,<br><br>(I've forwarded this on to the CCLAN list too)<br><br>Off hand, I don't know of any other solution. One thing that comes to <br>mind is to create a system search plug in (I forgot what ASDF calls<br>them) so that a clause like<br><br>:depends-on (:acache :aserve ...)</blockquote> <div> </div> <div>I dunno... this would be a solution for my specific problem at this moment, but this seems to me to be a general problem that could be solved with a general solution... what if we added another option to defsystem's :components initarg that was a hook into cl:require? </div> <div> </div> <div>so that way ppl can</div> <div> </div> <div>(defsystem :foo</div> <div> :components</div> <div> ((:module "m1"</div> <div> :depends-on ("n2" #-allegro :cl-ppcre)</div> <div> :requires (#+allegro "regexp2))</div> <div> ...</div> <div> </div> <div>?</div> <div> </div> <div>or maybe it would be better to call it :require-unportable-module or something since cl:require is `depricated'...</div><br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">would cause ASDF to issue the require command. If you're at all<br>interested in this solution, I'd be happy to make it walk and talk <br>like a duck.</blockquote> <div> </div> <div>thanks for the offer :-)</div> <div> </div> <div>take care</div> <div> </div> <div>Nick</div><br> </div> ------=_Part_101051_10760669.1176761344942--