[PATCH i-g-t] meson.sh: add setup option for meson

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Thu Dec 14 15:09:34 UTC 2023


On Thu, 14 Dec 2023 15:55:30 +0100
Kamil Konieczny <kamil.konieczny at linux.intel.com> wrote:

> New meson version issue warning when running ./meson.sh script:
> 
> WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
> 
> Add setup option as a first one for a new build.
> 
> Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
> Cc: Petri Latvala <adrinael at adrinael.net>
> Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Reviewed-by: Mauro Carvalho Chehab <mchehab at kernel.org>

> ---
>  meson.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.sh b/meson.sh
> index f83b6d6d4..e54cf4d44 100755
> --- a/meson.sh
> +++ b/meson.sh
> @@ -37,7 +37,7 @@ default: all
>  
>  build/build.ninja:
>  	\$(Q)mkdir -p build
> -	\$(Q)meson build \$(quiet_build)
> +	\$(Q)meson setup build \$(quiet_build)
>  
>  all: build/build.ninja
>  	\$(Q)ninja -C build \$(quiet_build)


More information about the igt-dev mailing list