From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 355CEA0579; Wed, 18 Mar 2020 11:03:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 229EE1AFF; Wed, 18 Mar 2020 11:03:06 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 7BA7B3B5 for ; Wed, 18 Mar 2020 11:03:03 +0100 (CET) IronPort-SDR: MWu6eHXrzY8jJmn8WwcKoyz4yGQwHcLdltmLlEFDEFtEQXsEfACpUukilVVH8bOmbOaV0oNh2g yS1t6SVdrabw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2020 03:02:54 -0700 IronPort-SDR: zDLEpYjsKwmpU6OYABRv+UNIEpGNBUfE3A8xJUUtPsZEPi+57+bmsd4NwBkDR4Z0x5IX+O3nLu eUCOEgMrGVZA== X-IronPort-AV: E=Sophos;i="5.70,566,1574150400"; d="scan'208";a="248121735" Received: from bricha3-mobl.ger.corp.intel.com ([10.251.165.47]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 18 Mar 2020 03:02:51 -0700 Date: Wed, 18 Mar 2020 10:02:45 +0000 From: Bruce Richardson To: David Marchand Cc: dev@dpdk.org, Thomas Monjalon Message-ID: <20200318100245.GC1491@bricha3-MOBL.ger.corp.intel.com> References: <20200317162521.17857-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317162521.17857-1-david.marchand@redhat.com> Subject: Re: [dpdk-dev] [PATCH] devtools: silence meson install X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Mar 17, 2020 at 05:25:21PM +0100, David Marchand wrote: > Installing with ninja is quite verbose by default, hide ninja output under > TEST_MESON_BUILD_VERBOSE and TEST_MESON_BUILD_VERY_VERBOSE options. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson > devtools/test-meson-builds.sh | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh > index c2d33b3b9f..c1ff2bb50a 100755 > --- a/devtools/test-meson-builds.sh > +++ b/devtools/test-meson-builds.sh > @@ -104,8 +104,13 @@ compile () # > install_target () # > { > rm -rf $2 > - echo "DESTDIR=$2 $ninja_cmd -C $1 install" > - DESTDIR=$2 $ninja_cmd -C $1 install > + if [ -n "$TEST_MESON_BUILD_VERY_VERBOSE$TEST_MESON_BUILD_VERBOSE" ]; then > + echo "DESTDIR=$2 $ninja_cmd -C $1 install" > + DESTDIR=$2 $ninja_cmd -C $1 install > + else > + echo "DESTDIR=$2 $ninja_cmd -C $1 install >/dev/null" > + DESTDIR=$2 $ninja_cmd -C $1 install >/dev/null > + fi > } > > build () # > -- > 2.23.0 >