summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-03-18 18:13:11 (GMT)
committerGitHub <noreply@github.com>2024-03-18 18:13:11 (GMT)
commit9c7b3688e6ff071456e0ee623b82870755ea7808 (patch)
treebc8bcc609716fb210e9ada3e514b7bd505d13d61 /PCbuild
parent7e1f38f2de8f93de362433203faa5605a0c47f0e (diff)
downloadcpython-9c7b3688e6ff071456e0ee623b82870755ea7808.zip
cpython-9c7b3688e6ff071456e0ee623b82870755ea7808.tar.gz
cpython-9c7b3688e6ff071456e0ee623b82870755ea7808.tar.bz2
gh-108716: Cleanup remaining deepfreeze infrastructure (#116919)
Keep Tools/build/deepfreeze.py around (we may repurpose it for deepfreezing non-code objects), and keep basic "clean" targets that remove the output of former deep-freeze activities, to keep the build directories of current devs clean.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/_freeze_module.vcxproj19
-rw-r--r--PCbuild/pythoncore.vcxproj5
2 files changed, 0 insertions, 24 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index 3a8a417..bce92c9 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -476,25 +476,6 @@
<Message Text="Updated files: @(_Updated->'%(Filename)%(Extension)',', ')"
Condition="'@(_Updated)' != ''" Importance="high" />
</Target>
- <Target Name="_RebuildDeepFrozen"
- AfterTargets="_RebuildFrozen"
- DependsOnTargets="FindPythonForBuild"
- Condition="$(Configuration) != 'PGUpdate'">
- <PropertyGroup>
- <FreezeMappingsFile>
- <!-- BEGIN freeze mapping file -->
-$(IntDir)\deepfreeze_mappings.txt
- <!-- END freeze mapping file -->
- </FreezeMappingsFile>
- </PropertyGroup>
- <WriteLinesToFile
- File="$(FreezeMappingsFile)"
- Overwrite="true"
- Lines="@(FrozenModule->'%(FullPath):%(FrozenId)')" />
- <!-- BEGIN deepfreeze rule -->
- <Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\build\deepfreeze.py" -f "$(IntDir)\deepfreeze_mappings.txt" -o "$(GeneratedFrozenModulesDir)deepfreeze.c"' />
- <!-- END deepfreeze rule -->
- </Target>
<Target Name="_CleanFrozen" BeforeTargets="CoreClean" Condition="$(Configuration) != 'PGUpdate'">
<ItemGroup>
<Clean Include="%(None.IntFile)" />
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 88a4a7c..9131ce8 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -632,11 +632,6 @@
<ClCompile Include="..\Python\traceback.c" />
<ClCompile Include="..\Python\tracemalloc.c" />
</ItemGroup>
- <ItemGroup>
- <!-- BEGIN deepfreeze -->
- <ClCompile Include="$(GeneratedFrozenModulesDir)deepfreeze.c" />
- <!-- END deepfreeze -->
- </ItemGroup>
<ItemGroup Condition="$(IncludeExternals)">
<ClCompile Include="..\Modules\zlibmodule.c" />
<ClCompile Include="$(zlibDir)\adler32.c" />