build: Fix up nir_intrinsics.Plo
authorMatt Turner <mattst88@gmail.com>
Wed, 28 Mar 2018 18:07:36 +0000 (11:07 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 28 Mar 2018 18:09:23 +0000 (11:09 -0700)
nir_intrinsics.c existed as a static file until commit 76dfed8ae2d5 began
generating it as part of the build process. autotools is incapable of
coping, and so a build-tree from before this commit would then fail with
it:

[4]: *** No rule to make target '../../../mesa/src/compiler/nir/nir_intrinsics.c', needed by 'nir/nir_intrinsics.lo'.  Stop.

Add a few lines to configure.ac to update the broken build files.

Fixes: 76dfed8ae2d5 ("nir: mako all the intrinsics")
configure.ac

index 99805e0f2bfd380fae4fba2a7e348f557152ce93..e874f8ebfb20f1e8625f1c4607f6f1985b9d3607 100644 (file)
@@ -3127,6 +3127,9 @@ $SED -i -e 's/brw_blorp.cpp/brw_blorp.c/' src/mesa/drivers/dri/i965/.deps/brw_bl
 rm -f src/compiler/spirv/spirv_info.lo
 echo "# dummy" > src/compiler/spirv/.deps/spirv_info.Plo
 
+rm -f src/compiler/nir/.deps/nir_intrinsics.Plo
+echo "# dummy" > src/compiler/nir/.deps/nir_intrinsics.Plo
+
 dnl
 dnl Output some configuration info for the user
 dnl