[Mesa-dev] [PATCH 12/12] i965: Link compiler unit tests to libi965_compiler.la
Jason Ekstrand
jason at jlekstrand.net
Thu Oct 8 11:53:33 PDT 2015
Looks good to me. This patch and 12 are
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
On Wed, Oct 7, 2015 at 7:11 AM, Kristian Høgsberg Kristensen
<krh at bitplanet.net> wrote:
> We can now link the unit tests against just libi965_compiler.la. This
> lets us drop a lot of DRI driver dependencies, but we still pull in all
> of libmesa and more.
>
> This also provides a few standalone users of libi965_compiler.la, which
> will help us accidentally using i965_dri.so functions from the compiler.
>
> Signed-off-by: Kristian Høgsberg Kristensen <krh at bitplanet.net>
> ---
> src/mesa/drivers/dri/i965/Makefile.am | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
> index 82e58a6..2e24151 100644
> --- a/src/mesa/drivers/dri/i965/Makefile.am
> +++ b/src/mesa/drivers/dri/i965/Makefile.am
> @@ -48,13 +48,9 @@ libi965_dri_la_LIBADD = libi965_compiler.la $(INTEL_LIBS)
> libi965_compiler_la_SOURCES = $(i965_compiler_FILES)
>
> TEST_LIBS = \
> - libi965_dri.la \
> - ../common/libdricommon.la \
> - ../common/libxmlconfig.la \
> - ../common/libmegadriver_stub.la \
> + libi965_compiler.la \
> ../../../libmesa.la \
> - $(DRI_LIB_DEPS) \
> - $(CLOCK_LIB) \
> + -lpthread -ldl \
> ../common/libdri_test_stubs.la
>
> TESTS = \
> --
> 2.4.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list