8000 Use generated pyconfig.h directory · python/cpython@46bee49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46bee49

Browse files
committed
Use generated pyconfig.h directory
1 parent 6648d84 commit 46bee49

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PCbuild/regen.targets

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<_KeywordSources Include="$(PySourcePath)Grammar\python.gram;$(PySourcePath)Grammar\Tokens" />
3030
<_KeywordOutputs Include="$(PySourcePath)Lib\keyword.py" />
3131
<!-- Taken from _Target._compute_digest in Tools\jit\_targets.py: -->
32-
<_JITSources Include="$(PySourcePath)Python\executor_cases.c.h;$(IntDir)pyconfig.h;$(PySourcePath)Tools\jit\**"/>
33-
<_JITOutputs Include="$(IntDir)jit_stencils.h"/>
32+
<_JITSources Include="$(PySourcePath)Python\executor_cases.c.h;$(GeneratedPyConfigDir)pyconfig.h;$(PySourcePath)Tools\jit\**"/>
33+
<_JITOutputs Include="$(GeneratedPyConfigDir)jit_stencils.h"/>
3434
</ItemGroup>
3535

3636
<Target Name="_TouchRegenSources" Condition="$(ForceRegen) == 'true'">
@@ -91,7 +91,8 @@
9191
<JITArgs Condition="$(Platform) == 'x64'">x86_64-pc-windows-msvc</JITArgs>
9292
<JITArgs Condition="$(Configuration) == 'Debug'">$(JITArgs) --debug</JITArgs>
9393
</PropertyGroup>
94-
<Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\jit\build.py" $(JITArgs)' WorkingDirectory="$(IntDir)"/>
94+
<Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\jit\build.py" $(JITArgs)'
95+
WorkingDirectory="$(GeneratedPyConfigDir)"/>
9596
</Target>
9697

9798
<Target Name="_RegenNoPGUpdate"

0 commit comments

Comments
 (0)
0