[asdf-devel] asdf with-compilation-unit

Mark H. David mhd at expressivedatabase.com
Tue Dec 13 16:23:31 UTC 2011


Thanks, would like to do this with an easy serial defsystem.
Can I get the files on the same line to be a compilation unit in this 
example?

(asdf:defsystem :example
            :version "0.0.1"
            :serial t
            :components ((:file "packages")
                         (:file "a")
                         (:file "b") (:file "c")  ; <- as compilation unit?
                         (:file "d")))

On 12/13/2011 11:04 AM, Robert Goldman wrote:
> On 12/13/11 Dec 13 -9:28 AM, Mark H. David wrote:
>> Is there any way to have ASDF compile several files with
>> with-compilation-unit wrapped around the compilation?
>>
>> _______________________________________________
>> asdf-devel mailing list
>> asdf-devel at common-lisp.net
>> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
> That's the default mode of operation:
>
> (defmethod perform-plan ((steps list)&key)
>    (let ((*package* *package*)
>          (*readtable* *readtable*))
>      (with-compilation-unit ()
>        (loop :for (op . component) :in steps :do
>          (perform-with-restarts op component)))))
>
> Cheers,
> r
>
>
> _______________________________________________
> asdf-devel mailing list
> asdf-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel




More information about the asdf-devel mailing list