ci/freedreno: do not build tools executables without explicitly enabling them
authorDavid Heidelberg <david.heidelberg@collabora.com>
Sun, 19 Mar 2023 14:37:11 +0000 (15:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 18:56:34 +0000 (18:56 +0000)
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22015>

src/freedreno/meson.build

index 5feab38..a28a993 100644 (file)
@@ -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')