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> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; 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&#39;ve forwarded this on to the CCLAN list too)<br><br>Off hand, I don&#39;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>&nbsp;</div>
<div>I dunno... this would be a solution for my specific&nbsp;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&#39;s :components&nbsp;initarg that was a&nbsp;hook into cl:require?
</div>
<div>&nbsp;</div>
<div>so that way ppl can</div>
<div>&nbsp;</div>
<div>(defsystem :foo</div>
<div>&nbsp;&nbsp; :components</div>
<div>&nbsp;&nbsp; ((:module &quot;m1&quot;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:depends-on (&quot;n2&quot; #-allegro :cl-ppcre)</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; :requires (#+allegro &quot;regexp2))</div>
<div>&nbsp;&nbsp;&nbsp; ...</div>
<div>&nbsp;</div>
<div>?</div>
<div>&nbsp;</div>
<div>or maybe it would be better to call it&nbsp;:require-unportable-module or something since cl:require is `depricated&#39;...</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&#39;re at all<br>interested in this solution, I&#39;d be happy to make it walk and talk
<br>like a duck.</blockquote>
<div>&nbsp;</div>
<div>thanks for the offer :-)</div>
<div>&nbsp;</div>
<div>take care</div>
<div>&nbsp;</div>
<div>Nick</div><br>&nbsp;</div>

------=_Part_101051_10760669.1176761344942--