[PATCH] build: avoid deprecated function for Meson properties
Ruifeng Wang
Ruifeng.Wang at arm.com
Thu Jan 5 05:25:37 CET 2023
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Wednesday, January 4, 2023 7:37 PM
> To: Ruifeng Wang <Ruifeng.Wang at arm.com>; Bruce Richardson <bruce.richardson at intel.com>;
> Stanislaw Kardach <kda at semihalf.com>
> Cc: dev at dpdk.org; David Marchand <david.marchand at redhat.com>
> Subject: [PATCH] build: avoid deprecated function for Meson properties
>
> The function get_cross_property() has been deprecated in Meson 0.58, and is replaced by
> the function get_external_property() introduced in Meson 0.54.
>
> This replacement requires to raise the minimal accepted Meson version from 0.53.2 to
> 0.54.0.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> config/arm/meson.build | 4 ++--
> config/meson.build | 6 +++---
> config/riscv/meson.build | 4 ++--
> doc/guides/linux_gsg/sys_reqs.rst | 2 +-
> drivers/meson.build | 4 ++--
> kernel/linux/meson.build | 4 ++--
> 6 files changed, 12 insertions(+), 12 deletions(-)
>
<snip>
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
> index a7e8261e22..e4f9b41251 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -43,7 +43,7 @@ Compilation of the DPDK
>
> * Python 3.6 or later.
>
> -* Meson (version 0.53.2+) and ninja
> +* Meson (version 0.54+) and ninja
>
meson.build:15 needs update to reflect the version pump.
And .ci/linux-setup.sh:7 also defines meson version. But I'm not sure whether this file is still in use.
With the changes:
Acked-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the dev
mailing list