patch 'build: fix warning when getting NUMA nodes' has been queued to stable release 22.11.3
Xueming Li
xuemingl at nvidia.com
Sun Jun 25 08:33:53 CEST 2023
Hi,
FYI, your patch has been queued to stable release 22.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/27/23. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=c3b5322fc3e5a4ee9cac7fa6b31820dd78208608
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From c3b5322fc3e5a4ee9cac7fa6b31820dd78208608 Mon Sep 17 00:00:00 2001
From: Ruifeng Wang <ruifeng.wang at arm.com>
Date: Mon, 29 May 2023 13:57:51 +0800
Subject: [PATCH] build: fix warning when getting NUMA nodes
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit bb7978284190c0e0dea6aa093a4eec4c6c36503a ]
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")
Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
config/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/meson.build b/config/meson.build
index fc3ac99a32..7cd375e991 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
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2023-06-25 14:31:58.974314000 +0800
+++ 0015-build-fix-warning-when-getting-NUMA-nodes.patch 2023-06-25 14:31:58.295773900 +0800
@@ -1 +1 @@
-From bb7978284190c0e0dea6aa093a4eec4c6c36503a Mon Sep 17 00:00:00 2001
+From c3b5322fc3e5a4ee9cac7fa6b31820dd78208608 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit bb7978284190c0e0dea6aa093a4eec4c6c36503a ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index fa730a1b14..65087ce090 100644
+index fc3ac99a32..7cd375e991 100644
More information about the stable
mailing list