-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure state for all outputs of phony builds
If a build is missing its inputs or its outputs, we normally stop examining disk state upon discovering the first missing file because we know we'll need to execute it regardless. But we don't execute phony builds, so they were skipping some logic that was breaking an invariant: any step downstream of an output relies on that step gathering the disk state (mtime) for that output. For phony steps we expect outputs to be missing, and (due to working around a Ninja bug) we also don't care about missing inputs(!). Without special casing, the "stop on first missing" file meant we wouldn't have state for their outputs. From a patch from [email protected], from #84.
- Loading branch information
Showing
3 changed files
with
59 additions
and
22 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
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
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