summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-11-01 13:47:55 -0700
committerChad Versace <[email protected]>2017-11-09 16:29:33 -0800
commitcd6f79a71d75d5d756176a03f04c4442c0ef9e7f (patch)
tree2ffeb5ae285541de5a35e880eee8e9d5e944b24b
parentb7441ef25288c669adcbe8708a458ceea13b8ff9 (diff)
anv/meson: Generate dev_icd.json
I tested this in a setup where the builddir was outside of the srcdir. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
-rw-r--r--src/intel/vulkan/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
index debdcce4ef2..606a4898fe2 100644
--- a/src/intel/vulkan/meson.build
+++ b/src/intel/vulkan/meson.build
@@ -48,6 +48,18 @@ intel_icd = custom_target(
install : true,
)
+dev_icd = custom_target(
+ 'dev_icd',
+ input : 'anv_icd.py',
+ output : 'dev_icd.@[email protected]'.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
# output. See issue #2346
block_entrypoints = custom_target(