Fix regeneration of global objects through the Windows build files (GH-96394)
https://github.com/python/cpython/commit/13c309f1101dc86ca0138f239d45cb009d0... commit: 13c309f1101dc86ca0138f239d45cb009d0e898d branch: main author: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> committer: zooba <steve.dower@microsoft.com> date: 2022-08-30T18:41:27+01:00 summary: Fix regeneration of global objects through the Windows build files (GH-96394) files: M PCbuild/regen.targets diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index 9073bb6ab2b..3938b66678e 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -82,9 +82,16 @@ WorkingDirectory="$(PySourcePath)" /> </Target> + <Target Name="_RegenGlobalObjects" + DependsOnTargets="FindPythonForBuild"> + <Message Text="Regenerate Global Objects" Importance="high" /> + <Exec Command="$(PythonForBuild) Tools\scripts\generate_global_objects.py" + WorkingDirectory="$(PySourcePath)" /> + </Target> + <Target Name="Regen" Condition="$(Configuration) != 'PGUpdate'" - DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords"> + DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords;_RegenGlobalObjects"> <Message Text="Generated sources are up to date" Importance="high" /> </Target>
participants (1)
-
zooba