8000 bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild… · python/cpython@89ae20b · GitHub
[go: up one dir, main page]

Skip to content

Commit 89ae20b

Browse files
authored
bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)
1 parent 95f6001 commit 89ae20b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The build.bat script has additional options for very-quiet output (-q) and very-verbose output (-vv)

PCbuild/build.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ echo. building externals.
2727
echo. -m Enable parallel build (enabled by default)
2828
echo. -M Disable parallel build
2929
echo. -v Increased output messages
30+
echo. -vv Verbose output messages
31+
echo. -q Quiet output messages (errors and warnings only)
3032
echo. -k Attempt to kill any running Pythons before building (usually done
3133
echo. automatically by the pythoncore project)
3234
echo. --pgo Build with Profile-Guided Optimization. This flag
@@ -73,6 +75,8 @@ if "%~1"=="-d" (set conf=Debug) & shift & goto CheckOpts
7375
if "%~1"=="-m" (set parallel=/m) & shift & goto CheckOpts
7476
if "%~1"=="-M" (set parallel=) & shift & goto CheckOpts
7577
if "%~1"=="-v" (set verbose=/v:n) & shift & goto CheckOpts
78+
if "%~1"=="-vv" (set verbose=/v:d /ds) & shift & goto CheckOpts
79+
if "%~1"=="-q" (set verbose=/v:q /nologo /clp:summary) & shift & goto CheckOpts
7680
if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
7781
if "%~1"=="--pgo" (set do_pgo=true) & shift & goto CheckOpts
7882
if "%~1"=="--pgo-job" (set do_pgo=true) & (set pgo_job=%~2) & shift & shift & goto CheckOpts

0 commit comments

Comments
 (0)
0