-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this change, the merged mibc file would inherit the timestamp of the input (which are often days in the past, from the optimization data nuget package). This caused merging to happen on every incremental build, as dotnet-pgo.dll is always newer than the output file. The timestamp was inherited to fix a different incremental build issue, where updating to a newer optimization data package wouldn't make the input timestamp new enough to trigger a re-merge. See #56397 for context. This fixes both issues by caching the input modification timestamps, so that the merged output file will get a new timestamp when it is created, but will be considered out of date whenever the input timestamps change. This reduces incremental build times on my machine by ~3s. Contributes to #47022 Also deletes the --inherit-timestamp logic.
- Loading branch information
Showing
4 changed files
with
33 additions
and
15 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
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