[ cclan-Bugs-1335103 ] ASDF redundant recompilations
"SourceForge.net" <[email protected]> Mon, 29 May 2006 13:01:35 -0700
| Newsgroups | gmane.lisp.cclan.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1335103, was opened at 2005-10-22 14:30 Message generated for change (Comment added) made by sburson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=393636&aid=1335103&group_id=28536 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: asdf Group: None Status: Open Resolution: None Priority: 7 Submitted By: Scott L. Burson (sburson) Assigned to: Daniel Barlow (dan_b) Summary: ASDF redundant recompilations Initial Comment: This is in ASDF 1.86. When the system definition uses explicit `:in-order-to' dependencies between files, and I issue a command like `(asdf:operate 'asdf:load-op <system>)', it recompiles many files unnecessarily (the fasls are up to date already). This doesn't happen when the system definition is in `:serial t' form. I enclose a tentative fix. -- Scott ---------------------------------------------------------------------- >Comment By: Scott L. Burson (sburson) Date: 2006-05-29 13:01 Message: Logged In: YES user_id=201123 Here's a patch made from the current CVS tree, just to be sure it applies cleanly. Deleting previous patches. -- Scott ---------------------------------------------------------------------- Comment By: Scott L. Burson (sburson) Date: 2006-05-29 11:08 Message: Logged In: YES user_id=201123 I've been running with this patch for about six months now, and it has been working great. I notice it's not in 1.92. I strongly encourage you to apply it to the CVS tree. (Can't believe I made such a mess of the initial submission here -- I know that's not confidence-inspiring. Yow!) I'm enclosing a complete example that reproduces the problem. Untar it somewhere, place a link to `foo.asd' in your central ASDF registry directory, start a fresh Lisp, and do `(asdf:operate 'asdf:load-op :foo)'. The source files will, of course, be compiled. Now exit Lisp and restart it, and do the load step again. You will see that most of the source files get recompiled. Unfortunately I no longer recall exactly what the problem was or how this patch fixes it, but I'm sure I can reconstruct that information if you need me to. ---------------------------------------------------------------------- Comment By: Scott L. Burson (sburson) Date: 2005-10-22 22:46 Message: Logged In: YES user_id=201123 Okay, third try :) (Deleting the previous attachment.) (Sorry for the duplicate comments.) -- Scott ---------------------------------------------------------------------- Comment By: Scott L. Burson (sburson) Date: 2005-10-22 22:36 Message: Logged In: YES user_id=201123 No, it wasn't that simple. Here's my second try at a fix. -- Scott ---------------------------------------------------------------------- Comment By: Scott L. Burson (sburson) Date: 2005-10-22 22:35 Message: Logged In: YES user_id=201123 No, it wasn't that simple. Here's my second try at a fix. -- Scott ---------------------------------------------------------------------- Comment By: Scott L. Burson (sburson) Date: 2005-10-22 22:34 Message: Logged In: YES user_id=201123 No, it wasn't that simple. Here's my second try at a fix. -- Scott ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=393636&aid=1335103&group_id=28536