From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7438842BCB; Mon, 29 May 2023 07:58:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 641434282D; Mon, 29 May 2023 07:58:18 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 3EBDD410D7; Mon, 29 May 2023 07:58:17 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F0248AB6; Sun, 28 May 2023 22:59:01 -0700 (PDT) Received: from net-arm-n1amp-02.shanghai.arm.com (net-arm-n1amp-02.shanghai.arm.com [10.169.210.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 189E03F6C4; Sun, 28 May 2023 22:58:13 -0700 (PDT) From: Ruifeng Wang To: bruce.richardson@intel.com Cc: dev@dpdk.org, jerinj@marvell.com, honnappa.nagarahalli@arm.com, feifei.wang2@arm.com, nd@arm.com, Ruifeng Wang , stable@dpdk.org Subject: [PATCH 2/2] build: fix warning when running external command Date: Mon, 29 May 2023 13:57:51 +0800 Message-Id: <20230529055751.3035712-2-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230529055751.3035712-1-ruifeng.wang@arm.com> References: <20230529055751.3035712-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Meson gives warnings on calls to run_command when there is a missing "check" parameter. Most of the occurrences has been fixed. Fixed the remaining one in this change. Fixes: ecb904cc4596 ("build: fix warnings when running external commands") Cc: bruce.richardson@intel.com Cc: stable@dpdk.org Signed-off-by: Ruifeng Wang --- config/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/meson.build b/config/meson.build index fa730a1b14..65087ce090 100644 --- a/config/meson.build +++ b/config/meson.build @@ -366,7 +366,7 @@ if max_numa_nodes == 'detect' error('Discovery of max_numa_nodes not supported for cross-compilation.') endif # overwrite the default value with discovered values - max_numa_nodes = run_command(get_numa_count_cmd).stdout().to_int() + max_numa_nodes = run_command(get_numa_count_cmd, check: true).stdout().to_int() message('Found @0@ numa nodes'.format(max_numa_nodes)) dpdk_conf.set('RTE_MAX_NUMA_NODES', max_numa_nodes) elif max_numa_nodes != 'default' -- 2.25.1