Why my file is recompiled every time ?
Frédéric Jolliton <[email protected]> Sun, 15 Apr 2007 22:42:21 +0200
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
When I've such a component form:
(:file "bar" :in-order-to ((compile-op (load-op "foo"))))
the file "bar" is recompiled each time I reload the system, even if
neither bar nor foo (nor any possible dependencies) are modified in the
meantime.
I've tested the following with ASDF 1.107 with SBCL 1.0.1 on Linux:
$ touch a b
$ cat test.asd
(defpackage #:test-system
(:use #:cl #:asdf))
(in-package #:test-system)
(defsystem #:test
:components ((:file "a")
(:file "b" :in-order-to ((compile-op (load-op "a"))))))
$ sbcl --no-userinit
* (load "asdf.lisp")
[..]
* (asdf:oos 'asdf:load-op 'test)
[..]
; compiling file "[..]/a.lisp" (written 15 APR 2007 10:20:00 PM):
[..]
; compiling file "[..]/b.lisp" (written 15 APR 2007 10:20:00 PM):
[..]
* ^D
$ sbcl --no-userinit
* (load "asdf.lisp")
[..]
* (asdf:oos 'asdf:load-op 'test)
[..]
; compiling file "[..]/b.lisp" (written 15 APR 2007 10:20:00 PM):
[..]
* ^D
Is that a normal behavior ?
--
Frédéric Jolliton
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/