[Mesa-dev] [PATCH] meson: Add build option for tools

Jordan Justen jordan.l.justen at intel.com
Thu Feb 8 09:30:04 UTC 2018


On 2018-02-07 16:55:24, Scott D Phillips wrote:
> diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build
> index b0c0de810a6..6c46e466c96 100644
> --- a/src/compiler/glsl/meson.build
> +++ b/src/compiler/glsl/meson.build
> @@ -230,7 +230,8 @@ glsl_compiler = executable(
>    dependencies : [dep_clock, dep_thread],
>    include_directories : [inc_common],
>    link_with : [libglsl_standalone],
> -  build_by_default : false,
> +  build_by_default : with_tools.contains('glsl'),
> +  install : true,

Thanks for looking at this!

I found that the install will still be attempted even if it isn't
built, so you should add with_tools.contains('foo') to the install
lines as well. With that:

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>


More information about the mesa-dev mailing list