intel: Only build perf if drivers or tools are enabled
authorMatt Turner <mattst88@gmail.com>
Wed, 30 Aug 2023 18:47:30 +0000 (14:47 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 31 Aug 2023 21:53:19 +0000 (21:53 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24974>

src/intel/meson.build

index e68253f..eef1662 100644 (file)
@@ -28,7 +28,9 @@ endif
 subdir('isl')
 subdir('common')
 subdir('compiler')
-subdir('perf')
+if with_intel_hasvk or with_intel_vk or with_gallium_crocus or with_gallium_iris or with_intel_tools
+  subdir('perf')
+endif
 if with_intel_hasvk or with_intel_vk or with_gallium_iris
   subdir('ds')
 endif