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 <[email protected]> --- v2: update some references to meson version in the docs --- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/prog_guide/build-sdk-meson.rst | 2 +- meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index 0e6a2e2e78..2a55301893 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -38,7 +38,7 @@ Compilation of the DPDK * Python 3.6 or later. -* Meson (version 0.57+) and ninja +* Meson (version 0.61+) and ninja * ``meson`` & ``ninja-build`` packages in most Linux distributions * If the packaged version is below the minimum version, the latest versions diff --git a/doc/guides/prog_guide/build-sdk-meson.rst b/doc/guides/prog_guide/build-sdk-meson.rst index 93a3271482..b236a933a5 100644 --- a/doc/guides/prog_guide/build-sdk-meson.rst +++ b/doc/guides/prog_guide/build-sdk-meson.rst @@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux distributions this can be installed using the local package management system, e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not available as a suitable package, it can also be installed using the Python -3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.57 or later of meson is +3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.61 or later of meson is required - if the version packaged is too old, the latest version is generally available from "pip". 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.53.0

