[Mesa-dev] [PATCH] meson: freedreno depends on nir

Dylan Baker dylan at pnwbakers.com
Fri Feb 16 17:15:07 UTC 2018


This fixes a race condition in building targets that link in freedreno.

cc: Mark Janes <mark.a.janes at intel.com>
Fixes: 0bbecc5a8548883f76a7 ("meson: define driver dependencies")
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
 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.16.1



More information about the mesa-dev mailing list