]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)
authorAnthony Shaw <anthony.p.shaw@gmail.com>
Wed, 5 Feb 2020 00:30:19 +0000 (11:30 +1100)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 00:30:19 +0000 (11:30 +1100)
Misc/NEWS.d/next/Windows/2020-01-02-01-11-53.bpo-39185.T4herN.rst [new file with mode: 0644]
PCbuild/build.bat

diff --git a/Misc/NEWS.d/next/Windows/2020-01-02-01-11-53.bpo-39185.T4herN.rst b/Misc/NEWS.d/next/Windows/2020-01-02-01-11-53.bpo-39185.T4herN.rst
new file mode 100644 (file)
index 0000000..3b84bd5
--- /dev/null
@@ -0,0 +1 @@
+The build.bat script has additional options for very-quiet output (-q) and very-verbose output (-vv)
\ No newline at end of file
index 7c24e0b155578138d2f66f10773ec13a9590da0e..ba7154d8cb1e56aa221259ec958afbf5477f0a5e 100644 (file)
@@ -27,6 +27,8 @@ echo.      building externals.
 echo.  -m  Enable parallel build (enabled by default)
 echo.  -M  Disable parallel build
 echo.  -v  Increased output messages
+echo.  -vv Verbose output messages
+echo.  -q  Quiet output messages (errors and warnings only)
 echo.  -k  Attempt to kill any running Pythons before building (usually done
 echo.      automatically by the pythoncore project)
 echo.  --pgo          Build with Profile-Guided Optimization.  This flag
@@ -73,6 +75,8 @@ if "%~1"=="-d" (set conf=Debug) & shift & goto CheckOpts
 if "%~1"=="-m" (set parallel=/m) & shift & goto CheckOpts
 if "%~1"=="-M" (set parallel=) & shift & goto CheckOpts
 if "%~1"=="-v" (set verbose=/v:n) & shift & goto CheckOpts
+if "%~1"=="-vv" (set verbose=/v:d /ds) & shift & goto CheckOpts
+if "%~1"=="-q" (set verbose=/v:q /nologo /clp:summary) & shift & goto CheckOpts
 if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
 if "%~1"=="--pgo" (set do_pgo=true) & shift & goto CheckOpts
 if "%~1"=="--pgo-job" (set do_pgo=true) & (set pgo_job=%~2) & shift & shift & goto CheckOpts