]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-141808: Do not generate the jit stencils twice in case of PGO builds on Windows...
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sat, 29 Nov 2025 20:43:06 +0000 (21:43 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Nov 2025 20:43:06 +0000 (12:43 -0800)
* do not build the jit stencils twice in case of PGO builds on Windows

* blurb it

Misc/NEWS.d/next/Build/2025-11-28-19-49-01.gh-issue-141808.cV5K12.rst [new file with mode: 0644]
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 (file)
index 0000000..3162c7c
--- /dev/null
@@ -0,0 +1 @@
+Do not generate the jit stencils twice in case of PGO builds on Windows.
index cf35e705f355a742e64ab840c969f589704f3926..53bfe5e3ea95ccff1bbd025ad01e0fea64c40615 100644 (file)
@@ -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>