i965: Don't link libmesa or libdri_test_stubs into tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 May 2016 00:51:59 +0000 (17:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 May 2016 21:13:38 +0000 (14:13 -0700)
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.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/Makefile.am

index 9a990d21f8ddc9f5314050262b52933c304b4569..0a5222ec48a236d5770bb9aff1d8b824744847f7 100644 (file)
@@ -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 \