make install is not incremental for non-in-place builds
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 5.2k
- Forks
- 698
- Avg merge
- 18h 34m
- Merged PRs (30d)
- 5
Description
What version of Racket are you using?
8.10
What program did you run?
./configure ...
gmake
gmake install
gmake install
What should have happened?
Since I didn't rerun configure or change the content of any of the file inputs, gmake install should complete almost instantly without doing anything extra. (I tweaked some things outside Racket, which is what caused an automated process to rerun gmake install, but that's all.)
Instead, it seems to spend a long time recompiling all the Scheme code that was installed, even though it had already been compiled and I see no reason why it should have changed.
As a consequence, this makes incremental work on fixing build issues very slow and tedious.
Please include any other relevant details
NetBSD 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with ./configure ..., gmake, and two consecutive gmake install runs on NetBSD 9. Trace the install step that recompiles installed Scheme code and identify why unchanged inputs are rebuilt; done means the second gmake install completes almost instantly without extra compilation.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100