mirrored from https://gitlab.haskell.org/ghc/ghc.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously this rule had a sanity check for the existence of the .o file. However, the sanity check is expensive, especially on Windows, because it requires spawning a shell. So now we use an empty command here. This change reduced the time to do 'make' in an up-to-date tree on Windows from 33s to 16s for me. (the actual saving depends on how much rebuilding you've been doing, and how many .hi files are older than their .o files). The comments in this file now describe various versions of the rule that don't work.
- Loading branch information
Showing
1 changed file
with
54 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters