mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
libagx: switch to depfile support
this fixes a lot of weirdness with #including common headers. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Dylan Baker <dylan.c.baker@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32505>
This commit is contained in:
parent
3d35ea6a6b
commit
11fc604f0e
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ libagx_spv = custom_target(
|
|||
output : 'libagx.spv',
|
||||
command : [
|
||||
prog_mesa_clc,
|
||||
prepended_input_args, '-o', '@OUTPUT@', '--',
|
||||
prepended_input_args, '-o', '@OUTPUT@', '--depfile', '@DEPFILE@', '--',
|
||||
'-cl-std=cl2.0', '-D__OPENCL_VERSION__=200',
|
||||
'-I' + join_paths(meson.current_source_dir(), '.'),
|
||||
'-I' + join_paths(meson.current_source_dir(), '../../'),
|
||||
|
|
@ -36,6 +36,7 @@ libagx_spv = custom_target(
|
|||
],
|
||||
env: ['MESA_SHADER_CACHE_DISABLE=true'],
|
||||
depends : [prog_mesa_clc, agx_pack],
|
||||
depfile : 'libagx_shaders.h.d',
|
||||
)
|
||||
|
||||
libagx_h = custom_target(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue