summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Barber <[email protected]>2019-09-23 17:51:43 -0700
committerDylan Baker <[email protected]>2019-09-26 08:47:50 -0700
commit2947b89369e7d2bc15e818fcbf17aabf7b35be54 (patch)
treee20338e062383b6696ac8fa93f2313e208829401
parent0c47b502c23c28f7dd993fd069b9193653dfb586 (diff)
nouveau: add idep_nir_headers as dep for libnouveau
Fixes a compilation error when building libnouveau: In file included from ../src/gallium/drivers/nouveau/nv50/nv50_program.c:25: ../src/compiler/nir/nir.h:1115:10: fatal error: nir_intrinsics.h: No such file or directory #include "nir_intrinsics.h" ^~~~~~~~~~~~~~~~~~ compilation terminated. Fixes: f014ae3c7cce504afe5d ("nouveau: add support for nir") Signed-off-by: Stephen Barber <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Karol Herbst <[email protected]> (cherry picked from commit 8c3ace6991a67bffd4e1f7559c098b6861ef4162)
-rw-r--r--src/gallium/drivers/nouveau/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/meson.build b/src/gallium/drivers/nouveau/meson.build
index 9369777de83..2e65a81f024 100644
--- a/src/gallium/drivers/nouveau/meson.build
+++ b/src/gallium/drivers/nouveau/meson.build
@@ -210,13 +210,13 @@ files_libnouveau = files(
libnouveau = static_library(
'nouveau',
- [files_libnouveau, nir_opcodes_h],
+ files_libnouveau,
include_directories : [
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_common,
],
c_args : [c_vis_args],
cpp_args : [cpp_vis_args],
- dependencies : [dep_libdrm, dep_libdrm_nouveau],
+ dependencies : [dep_libdrm, dep_libdrm_nouveau, idep_nir_headers],
)
nouveau_compiler = executable(