mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 07:00:45 +02:00
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 <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23821>
This commit is contained in:
parent
d3e5e04a75
commit
dc93f205c1
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue