From c7dabff3aaab59649fba8dc18ae5dadf0c0b8f20 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Nov 2017 08:34:22 +0200 Subject: 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. --- build2/cc/compile.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'build2/cc/compile.cxx') 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); -- cgit v1.1