DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] build: bump meson version to remove warnings
@ 2025-12-05 12:13 Bruce Richardson
  2025-12-05 12:28 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Richardson @ 2025-12-05 12:13 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

The build of DPDK now uses features from version 0.6 of meson, which is
greater than the current minimum of 0.57.2. Although these features are
non-critical, they do cause warnings to be emitted on build. Increase
minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove
these warnings.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index b01010ffa0..6b8cfa8b2e 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@ project('DPDK', 'c',
             'default_library=static',
             'warning_level=2',
         ],
-        meson_version: '>= 0.57.2'
+        meson_version: '>= 0.61'
         # meson_version_windows: '>= 1.5.2'
 )
 
-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] build: bump meson version to remove warnings
  2025-12-05 12:13 [PATCH] build: bump meson version to remove warnings Bruce Richardson
@ 2025-12-05 12:28 ` Bruce Richardson
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2025-12-05 12:28 UTC (permalink / raw)
  To: dev

On Fri, Dec 05, 2025 at 12:13:01PM +0000, Bruce Richardson wrote:
> The build of DPDK now uses features from version 0.6 of meson, which is
> greater than the current minimum of 0.57.2. Although these features are
> non-critical, they do cause warnings to be emitted on build. Increase
> minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove
> these warnings.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
With this patch, and the previously submitted patchset for assigning test
cases to the various categories/suites, all warnings in the meson
configuration stage should now be gone.

In terms of the specific version, as noted above I chose the version of
meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable,
and debian old-stable have newer versions than that in them. For the RHEL
line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped
originally with a meson version even older than 0.57, so moving to a later
one I hope doesn't matter. [I wasn't easily able to find out from Google
what the current meson version in RHEL 8/9/10 is]

Regards,
/Bruce

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-05 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-05 12:13 [PATCH] build: bump meson version to remove warnings Bruce Richardson
2025-12-05 12:28 ` Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).