From ea1e7dd9e9981c13cdeb4ed74c4833a87c4050ca Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Mon, 10 Jun 2024 12:20:14 +0200 Subject: [PATCH] rusticl: depend on the spirv_info target Hit this while building only rusticl_mesa_bindings. Fixes: a09c5d55ed7 ("spirv: Auto-generate spirv_info.h") Part-of: --- src/gallium/frontends/rusticl/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build index 192c352285a..72aa38de772 100644 --- a/src/gallium/frontends/rusticl/meson.build +++ b/src/gallium/frontends/rusticl/meson.build @@ -255,6 +255,10 @@ rusticl_libc_bindings_rs = rust.bindgen( ] ) +_idep_mesa_bindings = declare_dependency( + sources : spirv_info, +) + rusticl_mesa_bindings = rust.bindgen( input : 'rusticl_mesa_bindings.h', output : 'rusticl_mesa_bindings.rs', @@ -266,6 +270,7 @@ rusticl_mesa_bindings = rust.bindgen( inc_src, ], dependencies: [ + _idep_mesa_bindings, idep_nir_headers, dep_valgrind, ],