nouveau: add idep_nir_headers as dep for libnouveau
authorStephen Barber <smbarber@chromium.org>
Tue, 24 Sep 2019 00:51:43 +0000 (17:51 -0700)
committerEric Engestrom <eric@engestrom.ch>
Tue, 24 Sep 2019 17:27:20 +0000 (17:27 +0000)
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 <smbarber@chromium.org>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/meson.build

index 9369777de8386a3a57077ea4723ac8a6c4f6b828..2e65a81f0246963457b0ffa128599f2078bae2b1 100644 (file)
@@ -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(