From 03ab40b1f7bbff7f1c6ba128e202bdf31352ea66 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 16 Feb 2018 09:07:25 -0800 Subject: [PATCH] meson: freedreno depends on nir 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 Acked-by: Mark Janes --- src/gallium/drivers/freedreno/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index 8094e141b4b..ba1a21c9e0e 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -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( -- 2.30.2