https://github.com/python/cpython/commit/f2ca1581cab2da45880198af1c924dd40ec8a10b
commit: f2ca1581cab2da45880198af1c924dd40ec8a10b
branch: main
author: Chris Eibl <[email protected]>
committer: gpshead <[email protected]>
date: 2025-11-29T12:43:06-08:00
summary:
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
files:
A Misc/NEWS.d/next/Build/2025-11-28-19-49-01.gh-issue-141808.cV5K12.rst
M PCbuild/pyproject.props
diff --git
a/Misc/NEWS.d/next/Build/2025-11-28-19-49-01.gh-issue-141808.cV5K12.rst
b/Misc/NEWS.d/next/Build/2025-11-28-19-49-01.gh-issue-141808.cV5K12.rst
new file mode 100644
index 00000000000000..3162c7c41418cc
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2025-11-28-19-49-01.gh-issue-141808.cV5K12.rst
@@ -0,0 +1 @@
+Do not generate the jit stencils twice in case of PGO builds on Windows.
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index cf35e705f355a7..53bfe5e3ea95cc 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -13,6 +13,7 @@
<GeneratedFrozenModulesDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_frozen\</GeneratedFrozenModulesDir>
<GeneratedZlibNgDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\zlib-ng\</GeneratedZlibNgDir>
<GeneratedJitStencilsDir>$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_$(Configuration)</GeneratedJitStencilsDir>
+ <GeneratedJitStencilsDir Condition="$(Configuration) ==
'PGUpdate'">$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_PGInstrument</GeneratedJitStencilsDir>
<TargetName Condition="'$(TargetName)' == ''">$(ProjectName)</TargetName>
<TargetName>$(TargetName)$(PyDebugExt)</TargetName>
<GenerateManifest>false</GenerateManifest>
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]