aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-07 07:08:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-08 11:08:03 +0200
commit79ee1b724a324e65c21a59f066bda5053306727a (patch)
tree410e38f1c2b7e5e226e81245d017de1a8969fc28 /libbuild2
parentcc9337a5877b0164e97f30ba4814aff906f01c4e (diff)
Tweak match progress reporting for serial execution
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/operation.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/operation.cxx b/libbuild2/operation.cxx
index 3c7aee4..4146b57 100644
--- a/libbuild2/operation.cxx
+++ b/libbuild2/operation.cxx
@@ -277,7 +277,9 @@ namespace build2
// the up-to-date check on some projects (e.g., Boost). So we jump
// through a few hoops to make sure we don't overindulge.
//
- md.incr = stderr_term ? 5 : 100; // Scale depending on output type.
+ md.incr = stderr_term // Scale depending on output type.
+ ? (ctx.sched.serial () ? 1 : 5)
+ : 100;
md.what = " targets to " + diag_do (ctx, a);
mg = ctx.sched.monitor (