projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7441ef
)
anv/meson: Generate dev_icd.json
author
Chad Versace
<chadversary@chromium.org>
Wed, 1 Nov 2017 20:47:55 +0000
(13:47 -0700)
committer
Chad Versace
<chadversary@chromium.org>
Fri, 10 Nov 2017 00:29:33 +0000
(16:29 -0800)
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>
src/intel/vulkan/meson.build
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/meson.build
b/src/intel/vulkan/meson.build
index debdcce4ef2656d2259697672989af15d8ddc62b..606a4898fe2dff101fdbf96cea7488912feaf751 100644
(file)
--- 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.@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
# output. See issue #2346
block_entrypoints = custom_target(