Hi Evan, I'm not sure what the effect of this patch is going to be.
I'm just a bit afraid. I have load of code using Chicken from Makefiles. Typically in setup mode and at the same time these Makefiles rely on the import libraries not being regenerated if they don't change. That's how the behavior came to exist in the first place. If they are rebuild, than basically almost all of about 100 oversized modules will have to be rebuild without good reason. Which can take the better part of an hour in my case. Am Mon, 1 Apr 2019 19:48:08 +1300 schrieb Evan Hanson <ev...@foldling.org>: > Hi all, > > Here's a patch that addresses a bad interaction between chicken-do and > the code in core.scm that avoids regenerating import libraries when > they haven't changed. Basically, by skipping the import library, > target files can become stuck as "out of date" and that further > invocations of chicken-install will always rebuild them. > > For example: > > chicken-install -r regex > cd ~/.cache/chicken-install/regex > chicken-install -n # everything is built > touch regex.scm > chicken-install -n # so is built (as well as > static.o) chicken-install -n # so is built > chicken-install -n # so is built > # and so on ... > > This patch is a very simple solution to the problem, but it's not the > only way we could address the issue so if someone wants to propose > something more clever please be my guest. > > Cheers, > > Evan _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers