[Mesa-dev] [PATCH 1/3] meson: don't build classic mesa tests without dri_drivers

Dylan Baker dylan at pnwbakers.com
Mon Apr 23 17:31:13 UTC 2018


Quoting Dylan Baker (2018-04-19 09:20:49)
> Since mesa_classic is not build-on-demand the tests will create a demand
> and add a bunch of extra compilation.
> 
> Fixes: 43a6e84927e3b1290f6f211f5dfb184dfe5a719e
>        ("meson: build mesa test.")
> Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
> ---
>  src/mesa/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/meson.build b/src/mesa/meson.build
> index 30954beac54..3100dfc50f6 100644
> --- a/src/mesa/meson.build
> +++ b/src/mesa/meson.build
> @@ -732,6 +732,6 @@ endif
>  if with_glx == 'xlib'
>    subdir('drivers/x11')
>  endif
> -if with_tests
> +if with_tests and dri_drivers != []
>    subdir('main/tests')
>  endif
> -- 
> 2.17.0
> 

ping.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180423/1306cdac/attachment.sig>


More information about the mesa-dev mailing list