[Mesa-dev] [PATCH 09/10] i965: Don't link libmesa or libdri_test_stubs into tests

Jason Ekstrand jason at jlekstrand.net
Thu May 26 01:52:25 UTC 2016


Now that the compiler has been completely separated from libmesa, we no
longer need these.  We can make the tests much smaller by not linking them
in.  This also ensures that anyone who runs make check won't accidentally
put in any dependencies from the compiler to the rest of mesa core.
---
 src/mesa/drivers/dri/i965/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 9a990d2..0a5222e 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -66,11 +66,11 @@ EXTRA_DIST = \
 
 TEST_LIBS = \
 	libi965_compiler.la \
-        ../../../libmesa.la \
+	$(top_builddir)/src/compiler/nir/libnir.la \
+	$(top_builddir)/src/util/libmesautil.la \
 	$(top_builddir)/src/intel/isl/libisl.la \
 	$(PTHREAD_LIBS) \
-	$(DLOPEN_LIBS) \
-	../common/libdri_test_stubs.la
+	$(DLOPEN_LIBS)
 
 TESTS = \
 	test_fs_cmod_propagation \
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list