[asdf-devel] Ordering of system :depends-on elements

Zach Beane xach at xach.com
Sun Jul 7 21:31:53 UTC 2013


A few projects in quicklisp work something like this:

   ;;; foo.asd

   (defsystem foo ...)

   (defsystem foo-extra ...)


   ;;; bar.asd

   (defsystem bar :depends-on (:foo-extra :foo))

With asdf 2, (asdf:load-system "bar") seems to work fine, I guess
because asdf 2 does the equivalent of find-system on the elements from
right-to-left.

With asdf 3, it doesn't seem to work fine, I guess because asdf 3 does
the equivalent of find-system on the elements from left-to-right.

Are those guesses correct?

What's the best way to have a system definition that works equally well
in asdf2 and asdf3 in this kind of situation?

Zach



More information about the asdf-devel mailing list