From eaeeb079c1715b5b0ecc0b20bd4e5f45d0655452 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 9 Aug 2021 10:38:49 +0200 Subject: Print pkgconfig_save() command at verbosity 1 since can take long --- libbuild2/cc/pkgconfig.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libbuild2/cc/pkgconfig.cxx') diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index c3a9028..17cc2dc 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1459,7 +1459,12 @@ namespace build2 const path& p (t->path ()); - if (verb >= 2) + // Note that generation can time some time if we have a large number of + // prerequisite libraries. + // + if (verb) + text << "gen " << *t; + else if (verb >= 2) text << "cat >" << p; if (ctx.dry_run) -- cgit v1.1