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 15E9EA0566; Tue, 17 Mar 2020 17:26:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06C891C0AB; Tue, 17 Mar 2020 17:26:08 +0100 (CET) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by dpdk.org (Postfix) with ESMTP id 2CEA21C08E for ; Tue, 17 Mar 2020 17:26:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584462365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l9YY7k2XBlfVtDqBOIncdM25vmZJ5mVCC67+M00oCUk=; b=GAxf+Ob68fdaPmOcA4ISoV2OAunQTynOnYKmERJ90o2M6OZQ6j8JxSf8XKFJ3z6sO/Wa81 OIso8JP9hbc9NqGpw1k+Z2iFcPbVdqpdGhc6z7grtBptH/N+/fOkd6jOrnwlggGLpE8fC3 Fj+91A1/agX7SwI7uBhsnvbesfu+dw8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-346-JwDH1MgqN5ONEhd1EUbmaQ-1; Tue, 17 Mar 2020 12:26:04 -0400 X-MC-Unique: JwDH1MgqN5ONEhd1EUbmaQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F1BA5107ACC9; Tue, 17 Mar 2020 16:26:02 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9A0610027A3; Tue, 17 Mar 2020 16:26:01 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Thomas Monjalon Date: Tue, 17 Mar 2020 17:25:21 +0100 Message-Id: <20200317162521.17857-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [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" 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 --- 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 () # { =09rm -rf $2 -=09echo "DESTDIR=3D$2 $ninja_cmd -C $1 install" -=09DESTDIR=3D$2 $ninja_cmd -C $1 install +=09if [ -n "$TEST_MESON_BUILD_VERY_VERBOSE$TEST_MESON_BUILD_VERBOSE" ]; th= en +=09=09echo "DESTDIR=3D$2 $ninja_cmd -C $1 install" +=09=09DESTDIR=3D$2 $ninja_cmd -C $1 install +=09else +=09=09echo "DESTDIR=3D$2 $ninja_cmd -C $1 install >/dev/null" +=09=09DESTDIR=3D$2 $ninja_cmd -C $1 install >/dev/null +=09fi } =20 build () # --=20 2.23.0