From dc93f205c11cb16fab52872c61221992b79cc122 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Thu, 22 Jun 2023 21:37:29 -0700 Subject: [PATCH] meson: Explicitly add "check : false" to a couple instances of run_command In both cases there's code right after the execution to check the result and give a proper message. This gets rid of meson warning ``` WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 ``` Reviewed-by: Eric Engestrom Reviewed-by: Yonggang Luo Part-of: --- src/intel/vulkan/grl/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/grl/meson.build b/src/intel/vulkan/grl/meson.build index c0056b3493d..63cae57c017 100644 --- a/src/intel/vulkan/grl/meson.build +++ b/src/intel/vulkan/grl/meson.build @@ -72,13 +72,13 @@ has_ply = run_command( prog_python, '-c', ''' import ply - ''') + ''', check : false) if has_ply.returncode() != 0 error('Python (3.x) ply module required to build GRL kernels.') endif r = run_command(prog_python, 'grl_cl_kernel_gen.py', - grl_lib_args, '--ls-kernels', grl_grl_files) + grl_lib_args, '--ls-kernels', grl_grl_files, check : false) assert(r.returncode() == 0, 'Failed to fetch GRL CL kernels') grl_kernels = r.stdout().strip().split()