diff options
author | Guido van Rossum <guido@python.org> | 2021-11-22 18:09:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 18:09:48 (GMT) |
commit | 1037ca5a8ea001bfa2a198e08655620234e9befd (patch) | |
tree | dcf9b1966caca1eab0437f730f487701a960d851 /PCbuild/pythoncore.vcxproj | |
parent | 4d6c0c0cce05befa06e0cad7351b1303ac048277 (diff) | |
download | cpython-1037ca5a8ea001bfa2a198e08655620234e9befd.zip cpython-1037ca5a8ea001bfa2a198e08655620234e9befd.tar.gz cpython-1037ca5a8ea001bfa2a198e08655620234e9befd.tar.bz2 |
bpo-45850: Implement deep-freeze on Windows (#29648)
Implement changes to build with deep-frozen modules on Windows.
Note that we now require Python 3.10 as the "bootstrap" or "host" Python.
This causes a modest startup speed (around 7%) on Windows.
Diffstat (limited to 'PCbuild/pythoncore.vcxproj')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 70f0556..e1d59de 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -502,6 +502,30 @@ <ClCompile Include="..\Python\thread.c" /> <ClCompile Include="..\Python\traceback.c" /> </ItemGroup> + <ItemGroup> + <!-- BEGIN deepfreeze --> + <ClCompile Include="..\Python\deepfreeze\df.importlib._bootstrap.c" /> + <ClCompile Include="..\Python\deepfreeze\df.importlib._bootstrap_external.c" /> + <ClCompile Include="..\Python\deepfreeze\df.zipimport.c" /> + <ClCompile Include="..\Python\deepfreeze\df.abc.c" /> + <ClCompile Include="..\Python\deepfreeze\df.codecs.c" /> + <ClCompile Include="..\Python\deepfreeze\df.io.c" /> + <ClCompile Include="..\Python\deepfreeze\df._collections_abc.c" /> + <ClCompile Include="..\Python\deepfreeze\df._sitebuiltins.c" /> + <ClCompile Include="..\Python\deepfreeze\df.genericpath.c" /> + <ClCompile Include="..\Python\deepfreeze\df.ntpath.c" /> + <ClCompile Include="..\Python\deepfreeze\df.posixpath.c" /> + <ClCompile Include="..\Python\deepfreeze\df.os.c" /> + <ClCompile Include="..\Python\deepfreeze\df.site.c" /> + <ClCompile Include="..\Python\deepfreeze\df.stat.c" /> + <ClCompile Include="..\Python\deepfreeze\df.__hello__.c" /> + <ClCompile Include="..\Python\deepfreeze\df.__phello__.c" /> + <ClCompile Include="..\Python\deepfreeze\df.__phello__.ham.c" /> + <ClCompile Include="..\Python\deepfreeze\df.__phello__.ham.eggs.c" /> + <ClCompile Include="..\Python\deepfreeze\df.__phello__.spam.c" /> + <ClCompile Include="..\Python\deepfreeze\df.frozen_only.c" /> + <!-- END deepfreeze --> + </ItemGroup> <ItemGroup Condition="$(IncludeExternals)"> <ClCompile Include="..\Modules\zlibmodule.c" /> <ClCompile Include="$(zlibDir)\adler32.c" /> |