]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-130419: Do not build the _freeze_module project twice in Windows PGO builds (GH...
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Mon, 24 Feb 2025 21:35:00 +0000 (22:35 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 21:35:00 +0000 (21:35 +0000)
PCbuild/pcbuild.proj

index a2a637a304437389e9ce5f46756bbc52cfa26505..c7ddc1d23b301cc392e6b6b697bd11f04645f7c3 100644 (file)
@@ -95,7 +95,8 @@
   </ItemGroup>
 
   <Target Name="Build">
-    <MSBuild Projects="@(FreezeProjects)"
+    <MSBuild Condition="$(Configuration) != 'PGUpdate'"
+             Projects="@(FreezeProjects)"
              Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
              BuildInParallel="%(BuildInParallel)"
              StopOnFirstFailure="true"