Skip to content

Commit 3d44806

Browse files
[3.14] GH-141808: Do not generate the jit stencils twice in case of PGO builds on Windows. (GH-142043) (#142100)
GH-141808: Do not generate the jit stencils twice in case of PGO builds on Windows. (GH-142043) * do not build the jit stencils twice in case of PGO builds on Windows * blurb it (cherry picked from commit f2ca158) Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
1 parent 8559100 commit 3d44806

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Do not generate the jit stencils twice in case of PGO builds on Windows.

PCbuild/pyproject.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<GeneratedFrozenModulesDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_frozen\</GeneratedFrozenModulesDir>
1414
<GeneratedZlibNgDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\zlib-ng\</GeneratedZlibNgDir>
1515
<GeneratedJitStencilsDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_$(Configuration)</GeneratedJitStencilsDir>
16+
<GeneratedJitStencilsDir Condition="$(Configuration) == 'PGUpdate'">$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_PGInstrument</GeneratedJitStencilsDir>
1617
<TargetName Condition="'$(TargetName)' == ''">$(ProjectName)</TargetName>
1718
<TargetName>$(TargetName)$(PyDebugExt)</TargetName>
1819
<GenerateManifest>false</GenerateManifest>

0 commit comments

Comments
 (0)