@@ -41,8 +41,7 @@ The solution currently supports two platforms. The Win32 platform is
4141used to build standard x86-compatible 32-bit binaries, output into the
4242win32 sub-directory. The x64 platform is used for building 64-bit AMD64
4343(aka x86_64 or EM64T) binaries, output into the amd64 sub-directory.
44- The Itanium (IA-64) platform is no longer supported. See the "Building
45- for AMD64" section below for more information about 64-bit builds.
44+ The Itanium (IA-64) platform is no longer supported.
4645
4746Four configuration options are supported by the solution:
4847Debug
@@ -76,29 +75,7 @@ officially supported.
7675
7776By default, build.bat will build Python in Release configuration for
7877the 32-bit Win32 platform. It accepts several arguments to change
79- this behavior:
80-
81- -c <configuration> Set the configuration (see above)
82- -d Shortcut for "-c Debug"
83- -p <platform> Set the platform to build for ("Win32" or "x64")
84- -r Rebuild instead of just building
85- -t <target> Set the target (Build, Rebuild, Clean or CleanAll)
86- -e Use get_externals.bat to fetch external sources
87- -M Don't build in parallel
88- -v Increased output messages
89-
90- Up to 9 MSBuild switches can also be passed, though they must be passed
91- after specifying any of the above switches. For example, use:
92-
93- build.bat -e -d /fl
94-
95- to do a debug build with externals fetched as needed and write detailed
96- build logs to a file. If the MSBuild switch requires an equal sign
97- ("="), the entire switch must be quoted:
98-
99- build.bat -e -d "/p:ExternalsDir=P:\cpython-externals"
100-
101- There may also be other situations where quotes are necessary.
78+ this behavior, try `build.bat -h` to learn more.
10279
10380
10481C Runtime
@@ -129,8 +106,6 @@ pythoncore
129106 .dll and .lib
130107python
131108 .exe
132- make_buildinfo, make_versioninfo
133- helpers to provide necessary information to the build process
134109
135110These sub-projects provide extra executables that are useful for running
136111CPython in different ways:
@@ -152,9 +127,6 @@ categories:
152127_freeze_importlib
153128 _freeze_importlib.exe, used to regenerate Python\importlib.h after
154129 changes have been made to Lib\importlib\_bootstrap.py
155- bdist_wininst
156- ..\Lib\distutils\command\wininst-14.0[-amd64].exe, the base
157- executable used by the distutils bdist_wininst command
158130python3dll
159131 python3.dll, the PEP 384 Stable ABI dll
160132xxlimited
@@ -274,14 +246,8 @@ as the values of certain properties in order for the build solution to
274246find them. This is an advanced topic and not necessarily fully
275247supported.
276248
277-
278- Building for AMD64
279- ------------------
280-
281- The build process for AMD64 / x64 is very similar to standard builds,
282- you just have to set x64 as platform. In addition, the HOST_PYTHON
283- environment variable must point to a Python interpreter (at least 2.4),
284- to support cross-compilation from Win32.
249+ The get_externals.bat script is called automatically by build.bat when
250+ you pass the '-e' option to it.
285251
286252
287253Profile Guided Optimization
@@ -298,7 +264,7 @@ It creates the PGI files, runs the unit test suite or PyBench with the
298264PGI python, and finally creates the optimized files.
299265
300266See
301- http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.100 ).aspx
267+ http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.140 ).aspx
302268for more on this topic.
303269
304270
0 commit comments