Module: Mesa
Branch: master
Commit: 140b688c57f592c2a44fb86ee199b813a7f76b21
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=140b688c57f592c2a44fb86ee199b813a7f76b21

Author: Dylan Baker <[email protected]>
Date:   Thu Nov  2 13:58:22 2017 -0700

meson: add nir_builder_opcodes_h to gallium_auxiliary

This creates a dependency on this header being generated before trying
to compile any of these targets, as well as passing the correct -I to
the compiler to ensure it's included correctly.

Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 src/gallium/auxiliary/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/meson.build 
b/src/gallium/auxiliary/meson.build
index 90de5ff40b..3e623fd099 100644
--- a/src/gallium/auxiliary/meson.build
+++ b/src/gallium/auxiliary/meson.build
@@ -489,7 +489,7 @@ u_format_table_c = custom_target(
 libgallium = static_library(
   'gallium',
   [files_libgallium, u_indices_gen_c, u_unfilled_gen_c, u_format_table_c,
-   nir_opcodes_h],
+   nir_opcodes_h, nir_builder_opcodes_h],
   include_directories : [
     inc_loader, inc_gallium, inc_src, inc_include, include_directories('util')
   ],

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to