mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27460)
This commit is contained in:
parent
2116909b3e
commit
3edec5d142
1 changed files with 6 additions and 2 deletions
|
@ -78,7 +78,9 @@
|
|||
WorkingDirectory="$(PySourcePath)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Regen" DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
|
||||
<Target Name="Regen"
|
||||
Condition="$(Configuration) != 'PGUpdate'"
|
||||
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
|
||||
<Message Text="Generated sources are up to date" Importance="high" />
|
||||
</Target>
|
||||
|
||||
|
@ -119,5 +121,7 @@
|
|||
<Message Text="Wrote $(OutDir)LICENSE.txt" Importance="high" />
|
||||
</Target>
|
||||
|
||||
<Target Name="PostBuildRegen" DependsOnTargets="_RegenTestFrozenmain;_RegenLicense" />
|
||||
<Target Name="PostBuildRegen"
|
||||
Condition="$(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'"
|
||||
DependsOnTargets="_RegenTestFrozenmain;_RegenLicense" />
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue