diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-08-23 17:39:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 17:39:00 (GMT) |
commit | 72119d16a5f658939809febef29dadeca02cf34d (patch) | |
tree | cbcc9877f2a83559ee76c91a18330f1aeae36115 /PCbuild | |
parent | 422f81b5d2359063826b8561f698d57e94f6a5d8 (diff) | |
download | cpython-72119d16a5f658939809febef29dadeca02cf34d.zip cpython-72119d16a5f658939809febef29dadeca02cf34d.tar.gz cpython-72119d16a5f658939809febef29dadeca02cf34d.tar.bz2 |
gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. (#108367)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/regen.targets | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index 2ff18a8..cc9469c 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -13,8 +13,6 @@ <_ASTOutputs Include="$(PySourcePath)Python\Python-ast.c"> <Argument>-C</Argument> </_ASTOutputs> - <_OpcodeSources Include="$(PySourcePath)Tools\build\generate_opcode_h.py;$(PySourcePath)Lib\opcode.py" /> - <_OpcodeOutputs Include="$(PySourcePath)Include\internal\pycore_opcode.h" /> <_TokenSources Include="$(PySourcePath)Grammar\Tokens" /> <_TokenOutputs Include="$(PySourcePath)Doc\library\token-list.inc"> <Format>rst</Format> @@ -34,7 +32,7 @@ <Target Name="_TouchRegenSources" Condition="$(ForceRegen) == 'true'"> <Message Text="Touching source files to force regeneration" Importance="high" /> - <Touch Files="@(_PegenSources);@(_ASTSources);@(_OpcodeSources);@(_TokenSources);@(_KeywordOutputs)" + <Touch Files="@(_PegenSources);@(_ASTSources);@(_TokenSources);@(_KeywordOutputs)" AlwaysCreate="False" /> </Target> @@ -55,14 +53,6 @@ WorkingDirectory="$(PySourcePath)" /> </Target> - <Target Name="_RegenOpcodes" - Inputs="@(_OpcodeSources)" Outputs="@(_OpcodeOutputs)" - DependsOnTargets="FindPythonForBuild"> - <Message Text="Regenerate @(_OpcodeOutputs->'%(Filename)%(Extension)',' ')" Importance="high" /> - <Exec Command="$(PythonForBuild) Tools\build\generate_opcode_h.py Lib\opcode.py Include\internal\pycore_opcode.h Include\internal\pycore_intrinsics.h" - WorkingDirectory="$(PySourcePath)" /> - </Target> - <Target Name="_RegenTokens" Inputs="@(_TokenSources)" Outputs="@(_TokenOutputs)" DependsOnTargets="FindPythonForBuild"> @@ -89,7 +79,7 @@ <Target Name="Regen" Condition="$(Configuration) != 'PGUpdate'" - DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords;_RegenGlobalObjects"> + DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenTokens;_RegenKeywords;_RegenGlobalObjects"> <Message Text="Generated sources are up to date" Importance="high" /> </Target> |