[Mesa-dev] [PATCH] freedreno/meson: Only build the compiler if building freedreno

Dylan Baker dylan at pnwbakers.com
Sat Nov 11 16:11:47 UTC 2017


I sent a patch to fix this as did Rob, I think his landed already.

I'm not sure it's a good idea to build tools by default. Personally I'd rather see an extra option added if compiling via ninja src/gallium/drivers/freedreno/ir3compiler is too tedious.

Dylan

On November 10, 2017 11:10:37 PM PST, Jason Ekstrand <jason at jlekstrand.net> wrote:
>Setting build_by_default to true makes it suddenly pull in freedreno
>and
>all of gallium unconditionally.
>
>Cc: Rob Clark <robdclark at gmail.com>
>Cc: Dylan Baker <dylan at pnwbakers.com>
>---
> src/gallium/drivers/freedreno/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/gallium/drivers/freedreno/meson.build
>b/src/gallium/drivers/freedreno/meson.build
>index 3fb94ed..b3a33da 100644
>--- a/src/gallium/drivers/freedreno/meson.build
>+++ b/src/gallium/drivers/freedreno/meson.build
>@@ -224,5 +224,5 @@ ir3_compiler = executable(
>     libglsl_standalone,
>     libmesa_util,
>   ],
>-  build_by_default : true,
>+  build_by_default : with_gallium_freedreno,
> )


More information about the mesa-dev mailing list