Asdf and sub-systems

From: Martin Ginkel (martin.ginkel_at_epost.de)
Date: 08/25/04


Date: Wed, 25 Aug 2004 16:27:06 +0200

Hi,

until recently I worked with mk:defsystem to define compilation of my
packages. I like the fresh concepts of asdf and consider to switch.
But I want to have the following feature:

(make:defsystem :bla
     :components (
                 (:module test-env
                          :initially-do (mk::find-system 'test-suite :load "test:load-test.lisp")
                          :compile-form
                          (mk::operate-on-system 'test-suite 'compile)
                          :load-form
                          (mk::operate-on-system 'test-suite 'load))
...

This construct allows to load independent system-definitions into
a larger system and have them automatically compiled
(according to dependencies).
With asdf I could not figure out how to do this.
Even if I add the global system (asdf:find-system :test-suite) to the
components of bla, It does nothing on the sub-system.

Has anyone solved this already?

        Martin

-- 
+-[Martin Ginkel]-------------[mailto:mginkel(at)mpi-magdeburg.mpg.de]-+
| MPI Magdeburg, Zi S2.09    Sandtorstr. 1, D-39106 Magdeburg, Germany |
| C makes it easy to shoot yourself in the foot.  C++ makes it harder, |
| but when you do, it blows away your whole leg.              Bjarne   |
+-[tel/fax: +49 391 6110 482/529]----[http://www.mpi-magdeburg.mpg.de]-+


Relevant Pages

  • Re: Asdf and sub-systems
    ... >> packages. ... I like the fresh concepts of asdf and consider to switch. ...
    (comp.lang.lisp)
  • Re: ASDF and reader syntax
    ... method is the compile-time (implicitly read-time) of the code being ... compiled using ASDF. ... When executing top-level forms which involve the reader or printer. ... set reader state around compilation and loading ...
    (comp.lang.lisp)
  • Re: Asdf and sub-systems
    ... > until recently I worked with mk:defsystem to define compilation of my ... > packages. ... I like the fresh concepts of asdf and consider to switch. ...
    (comp.lang.lisp)
  • Re: System compilation failure, CLPPCRE, ASDF, SBCL involved
    ... > compiling a file via ASDF. ... ; in: LAMBDA NIL ... ; note: deleting unreachable code ... ; compilation unit finished ...
    (comp.lang.lisp)
  • Re: switch statement
    ... > an extra level of processing before compilation. ... I wouldn't use a source filter for anything I cared about. ... > mysterious errors. ... errors, when I've used Switch. ...
    (perl.beginners)