From 8b07d68462c5fec92fd5a4aab77ddfd425d1f8d0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jan 2018 12:46:10 +0200 Subject: Implement compiler_info caching --- build2/utility.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index 4196b03..8d450df 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -208,7 +208,8 @@ namespace build2 } process - run_start (const process_path& pp, + run_start (uint16_t verbosity, + const process_path& pp, const char* args[], int in, int out, @@ -217,6 +218,10 @@ namespace build2 try { assert (args[0] == pp.recall_string ()); + + if (verb >= verbosity) + print_process (args, 0); + return process (pp, args, in, out, (err ? 2 : 1), cwd.string ().c_str ()); } catch (const process_error& e) -- cgit v1.1