summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-05-17 17:07:24 (GMT)
committerSteve Dower <steve.dower@python.org>2019-05-17 17:07:24 (GMT)
commitf96e7fd9240c1ce13f52bd3ba81f58b2511d89c3 (patch)
tree8308057eebe43b7d81dbe0bc481bf3dd1165ad17 /PCbuild/build.bat
parentcab5d0741ee6adf2ae9ff5aaafe06b75b4b5bca3 (diff)
downloadcpython-f96e7fd9240c1ce13f52bd3ba81f58b2511d89c3.zip
cpython-f96e7fd9240c1ce13f52bd3ba81f58b2511d89c3.tar.gz
cpython-f96e7fd9240c1ce13f52bd3ba81f58b2511d89c3.tar.bz2
bpo-36941: Windows build changes for Windows ARM64 (GH-13365)
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r--PCbuild/build.bat6
1 files changed, 5 insertions, 1 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index cd0c07a..6f0c85e 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -35,13 +35,14 @@ echo. --test-marker Enable the test marker within the build.
echo.
echo.Available flags to avoid building certain modules.
echo.These flags have no effect if '-e' is not given:
+echo. --no-ctypes Do not attempt to build _ctypes
echo. --no-ssl Do not attempt to build _ssl
echo. --no-tkinter Do not attempt to build Tkinter
echo.
echo.Available arguments:
echo. -c Release ^| Debug ^| PGInstrument ^| PGUpdate
echo. Set the configuration (default: Release)
-echo. -p x64 ^| Win32 ^| ARM
+echo. -p x64 ^| Win32 ^| ARM ^| ARM64
echo. Set the platform (default: Win32)
echo. -t Build ^| Rebuild ^| Clean ^| CleanAll
echo. Set the target manually
@@ -81,10 +82,12 @@ rem them in through the environment, but we specify them on the command line
rem anyway for visibility so set defaults after this
if "%~1"=="-e" (set IncludeExternals=true) & shift & goto CheckOpts
if "%~1"=="-E" (set IncludeExternals=false) & shift & goto CheckOpts
+if "%~1"=="--no-ctypes" (set IncludeCTypes=false) & shift & goto CheckOpts
if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
if "%IncludeExternals%"=="" set IncludeExternals=true
+if "%IncludeCTypes%"=="" set IncludeCTypes=true
if "%IncludeSSL%"=="" set IncludeSSL=true
if "%IncludeTkinter%"=="" set IncludeTkinter=true
@@ -139,6 +142,7 @@ echo on
%MSBUILD% "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
/p:Configuration=%conf% /p:Platform=%platf%^
/p:IncludeExternals=%IncludeExternals%^
+ /p:IncludeCTypes=%IncludeCTypes%^
/p:IncludeSSL=%IncludeSSL% /p:IncludeTkinter=%IncludeTkinter%^
/p:UseTestMarker=%UseTestMarker% %GITProperty%^
%1 %2 %3 %4 %5 %6 %7 %8 %9