From 694d3b88fe1694df78bc721ae359a4b2e04004b3 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 29 Jul 2021 20:53:29 +0100 Subject: [PATCH] bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27460) Also remove some unused code that should not have been backported. --- PCbuild/regen.targets | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index a1de340ab544c3..ff56d1148e845e 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -78,16 +78,14 @@ WorkingDirectory="$(PySourcePath)" /> - + - <_TestFrozenSources Include="$(PySourcePath)Programs\freeze_test_frozenmain.py; - $(PySourcePath)Programs\test_frozenmain.py; - @(_OpcodeOutputs)" /> - <_TestFrozenOutputs Include="$(PySourcePath)Programs\test_frozenmain.h" /> <_LicenseSources Include="$(PySourcePath)LICENSE; $(PySourcePath)PC\crtlicense.txt; $(bz2Dir)LICENSE; @@ -112,5 +110,7 @@ - +