Module: Mesa
Branch: main
Commit: 6c5888b890c35500f0547d82758ce7546c3c7e15
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c5888b890c35500f0547d82758ce7546c3c7e15

Author: David Heidelberg <david.heidelb...@collabora.com>
Date:   Sun Mar 19 15:37:11 2023 +0100

ci/freedreno: do not build tools executables without explicitly enabling them

Reviewed-by: Rob Clark <robcl...@freedesktop.org>
Signed-off-by: David Heidelberg <david.heidelb...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22015>

---

 src/freedreno/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/meson.build b/src/freedreno/meson.build
index 5feab386007..a28a993317b 100644
--- a/src/freedreno/meson.build
+++ b/src/freedreno/meson.build
@@ -55,7 +55,7 @@ if with_perfetto and (with_datasources.contains('freedreno') 
or with_datasources
 endif
 
 # Everything that depends on rnn requires (indirectly) libxml2:
-if dep_libxml2.found()
+if dep_libxml2.found() and with_tools.contains('freedreno')
   subdir('rnn')
   subdir('decode')
   subdir('afuc')

Reply via email to