Mesa (staging/19.0): meson: Add dependency on genxml to anvil genfiles

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 17 20:11:19 UTC 2019


Module: Mesa
Branch: staging/19.0
Commit: 32e08b23975b5f0ddcff108f6e3927fa7323131b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32e08b23975b5f0ddcff108f6e3927fa7323131b

Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date:   Wed Apr 17 09:38:00 2019 +0000

meson: Add dependency on genxml to anvil genfiles

This fixes a race condition where anv_gen_files are executed before
genxml files, which causes a build failure

v2: add dependency on idep_genxml (Lionel)

Fixes: d1992255bb29054fa51763376d125183a9f602f
       ("meson: Add build Intel "anv" vulkan driver")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
(cherry picked from commit b74e605cf47fe54c0d2a6df072c1874160cfd9eb)

---

 src/intel/vulkan/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
index baf8bdda769..af1223ad3b9 100644
--- a/src/intel/vulkan/meson.build
+++ b/src/intel/vulkan/meson.build
@@ -105,7 +105,7 @@ foreach g : [['70', ['gen7_cmd_buffer.c']], ['75', ['gen7_cmd_buffer.c']],
       c_vis_args, no_override_init_args, c_sse2_args,
       '-DGEN_VERSIONx10=@0@'.format(_gen),
     ],
-    dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers],
+    dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml],
   )
 endforeach
 




More information about the mesa-commit mailing list