From patchwork Tue Dec 6 10:16:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 120483 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6957EA0543; Tue, 6 Dec 2022 11:17:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1148740687; Tue, 6 Dec 2022 11:17:16 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id C21094021D for ; Tue, 6 Dec 2022 11:17:13 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 5607D320090B; Tue, 6 Dec 2022 05:17:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 06 Dec 2022 05:17:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1670321830; x=1670408230; bh=gIRvFryOtZmS9DCby4JrUeBUf ruH8F4JSD7MyWmphHE=; b=RONVkMk3/qmxeG4LgB1ejBUM6gZ+l0wljtByYNAQa M51vNlqBTa8zGl3op5I8luP+AMfqq6uXK85ku3HsLAgjwZiMKVMHpc0WQUw5OqPM Qj9NsqMzdvZrtgz7+Y/q9+Bf62L2cjHLzCIg+cOHYnTOeX+wcZRagrJM4bgDtktv t3GOI4yCVgqHM4lpdXXb4owLzOFhHW/YXN+hz191i5wDrRFzxc9p4kdvBoArRPTc 6VSYEGJGXh8BT2NRYh8cooy/v/3/99Stalwe0J2XOs2rZD2vS39zo/UBJVyAIYcx a0Xulx2CRdvAqVndylcnVesZt5EgNJMAvaM8pbclX+Ssw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1670321830; x=1670408230; bh=gIRvFryOtZmS9DCby4JrUeBUfruH8F4JSD7 MyWmphHE=; b=TmI6Ej4NurGzjtOVDNJEl0Xx8sN5y3dAEYN4/HayyVtT8kqt0gb rVoqwnhDV0gAJ54mya5YZ/6h0r4kBXzOyfmzPe5FxG+9LQDaTQfTo7Cj+gU9IRtv 0zQlp4XvxFiYo0lyqaG9fgqfNEwsSUGFTc1+ONKZmm7kEFZLjoK7p0wi1ORGvQ3a PuVBKtRRRvAzpaqSm7hdAlFVYlCy7ZMJ1W5ScMBPiEGRbuWcNFzlMmuj2zyxPedm wTPbWJmUnkG3Akki8eSZTTuvsFNyP2/TL8XlWsHJ97UuPdNrGyqj+aZdynRmPxmj wzJ0b0TVk5lxOuUZyUq9mmsl2IbzDNkEjtA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeigddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnheptedtfedtffeiueeggedttdffveeugfetheefieetueffiefgkeeivefg feejteelnecuffhomhgrihhnpehshhgsrdgtihdplhhinhhugidqsghuihhlugdrshhhne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Dec 2022 05:17:09 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Aaron Conole , Michael Santana , Bruce Richardson Subject: [PATCH] devtools: update Meson setup command Date: Tue, 6 Dec 2022 11:16:48 +0100 Message-Id: <20221206101648.1361771-1-thomas@monjalon.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The command "meson build" causes a deprecation warning with meson 0.64: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Signed-off-by: Thomas Monjalon Reviewed-by: David Marchand Acked-by: Tyler Retzlaff Acked-by: Aaron Conole --- .ci/linux-build.sh | 2 +- devtools/test-meson-builds.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index baec65a914..5225dc71c4 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -163,7 +163,7 @@ if [ "$ABI_CHECKS" = "true" ]; then if [ ! -d reference ]; then refsrcdir=$(readlink -f $(pwd)/../dpdk-$REF_GIT_TAG) git clone --single-branch -b "$REF_GIT_TAG" $REF_GIT_REPO $refsrcdir - meson $OPTS -Dexamples= $refsrcdir $refsrcdir/build + meson setup $OPTS -Dexamples= $refsrcdir $refsrcdir/build ninja -C $refsrcdir/build DESTDIR=$(pwd)/reference ninja -C $refsrcdir/build install devtools/gen-abi.sh reference diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 3a308bc9af..7efd5576fc 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -124,8 +124,8 @@ config () # options="$options -D$option" done options="$options $*" - echo "$MESON $options $dir $builddir" >&$verbose - $MESON $options $dir $builddir + echo "$MESON setup $options $dir $builddir" >&$verbose + $MESON setup $options $dir $builddir } compile () #