From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
Date: Sat, 29 Nov 2025 20:43:06 +0000 (+0100)
Subject: GH-141808: Do not generate the jit stencils twice in case of PGO builds on Windows...
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2ca1581cab2da45880198af1c924dd40ec8a10b;p=thirdparty%2FPython%2Fcpython.git
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
---
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 000000000000..3162c7c41418
--- /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 cf35e705f355..53bfe5e3ea95 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -13,6 +13,7 @@
$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_frozen\
$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)$(ArchName)_$(Configuration)\zlib-ng\
$(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_$(Configuration)
+ $(Py_IntDir)\$(MajorVersionNumber)$(MinorVersionNumber)_PGInstrument
$(ProjectName)
$(TargetName)$(PyDebugExt)
false