anv/meson: Generate dev_icd.json
I tested this in a setup where the builddir was outside of the srcdir. Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
@@ -48,6 +48,18 @@ intel_icd = custom_target(
|
|||||||
install : true,
|
install : true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
dev_icd = custom_target(
|
||||||
|
'dev_icd',
|
||||||
|
input : 'anv_icd.py',
|
||||||
|
output : 'dev_icd.@0@.json'.format(host_machine.cpu()),
|
||||||
|
command : [prog_python2, '@INPUT@',
|
||||||
|
'--lib-path', meson.current_build_dir(),
|
||||||
|
'--out', '@OUTPUT@'],
|
||||||
|
depend_files : files('anv_extensions.py'),
|
||||||
|
build_by_default : true,
|
||||||
|
install : false,
|
||||||
|
)
|
||||||
|
|
||||||
# TODO: workaround for anv_entrypoints combining the .h and .c files in it's
|
# TODO: workaround for anv_entrypoints combining the .h and .c files in it's
|
||||||
# output. See issue #2346
|
# output. See issue #2346
|
||||||
block_entrypoints = custom_target(
|
block_entrypoints = custom_target(
|
||||||
|
Reference in New Issue
Block a user