meson: Add dependency on genxml to anvil genfiles
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 17 Apr 2019 09:38:00 +0000 (09:38 +0000)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 17 Apr 2019 13:49:55 +0000 (15:49 +0200)
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@intel.com>
src/intel/vulkan/meson.build

index c32c10c5c721192134eca669c2ad37b03c0ada7f..c12040c84ebc5395276ef67b1219cc00bfdd9791 100644 (file)
@@ -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