[asdf-devel] Two questions

Gary King gwking at metabang.com
Wed Sep 30 13:25:49 UTC 2009

Hi Nick,

> 1. Problems with the :feature feature.
> (asdf:defsystem foo
>  :components ((:file "pkg")
>               (:file "code")
>               (:file "foo" :depends-on ((:feature :frob)))))

I haven't made time to read Christophe's and Faré's comments but I  
agree that this is broken in various ways. We'll add it to the list of  
things to fix.

> 2. Suppose I would like some code to run at compile-time / load-time
> to determine where the fasls should live (e.g. hypothetically, in a
> subdirectory named after a timestamp, or according to what patches I
> have loaded). How do I express this?

The output-files technique is the most flexible. However, as Faré  
said, ASDF now includes some measure of customization out of the box  
(1.365). See http://common-lisp.net/project/asdf/getting-started.html#header2-27 
  and http://common-lisp.net/project/asdf/manual.html#binary-locations

Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter

More information about the asdf-devel mailing list