[Python-checkins] bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)

Miss Islington (bot) webhook-mailer at python.org
Tue Feb 4 19:48:06 EST 2020


https://github.com/python/cpython/commit/6470a7643018b357adcd88f77ae2a196f41cb351
commit: 6470a7643018b357adcd88f77ae2a196f41cb351
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-04T16:48:01-08:00
summary:

bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)

(cherry picked from commit 89ae20b30e4543f379ee647c965eb46200556496)

Co-authored-by: Anthony Shaw <anthony.p.shaw at gmail.com>

files:
A Misc/NEWS.d/next/Windows/2020-01-02-01-11-53.bpo-39185.T4herN.rst
M 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
index 0000000000000..3b84bd5217264
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2020-01-02-01-11-53.bpo-39185.T4herN.rst
@@ -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
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index 623409c24ec04..7f9de1f5b3f55 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -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
@@ -72,6 +74,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



More information about the Python-checkins mailing list