meson: freedreno depends on nir
authorDylan Baker <dylan@pnwbakers.com>
Fri, 16 Feb 2018 17:07:25 +0000 (09:07 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 16 Feb 2018 18:10:18 +0000 (10:10 -0800)
This fixes a race condition in building targets that link in freedreno.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105120
Fixes: 0bbecc5a8548883f76a7 ("meson: define driver dependencies")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Mark Janes <mark.a.janes@intel.com>
src/gallium/drivers/freedreno/meson.build

index 8094e141b4b89ce34c6a311f1f989aef2494f1c9..ba1a21c9e0e3d78aaf322881696b87d4fea19687 100644 (file)
@@ -230,6 +230,7 @@ libfreedreno = static_library(
 driver_freedreno = declare_dependency(
   compile_args : '-DGALLIUM_FREEDRENO',
   link_with : [libfreedrenowinsys, libfreedreno],
+  dependencies : idep_nir,
 )
 
 ir3_compiler = executable(