aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-21 08:34:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-21 08:34:22 +0200
commitc7dabff3aaab59649fba8dc18ae5dadf0c0b8f20 (patch)
tree77a5a41ce83b4534690be24b3ab7945f3434fb6c /build2/cc/compile.cxx
parenta3bb87987bf152eaa63cc0ffda475ebd33247763 (diff)
Improve skipped update diagnostics
Instead of printing a line for each target skipped we now print a summary with count at the end. We also now show the skip count in progress.
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 6022fb6..33a0d6d 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -3985,13 +3985,8 @@ namespace build2
{
if (md.touch)
{
- // Getting "everything up to date" after modifying a file can be
- // unnerving. So calm the user down.
- //
- if (verb == 1)
- text << "skip " << s;
-
touch (tp, false, 2);
+ skip_count.fetch_add (1, memory_order_relaxed);
}
t.mtime (md.mt);