From 01f5fd36c88f3767383c5f85c9101d262256a9d5 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 30 Aug 2023 14:47:30 -0400 Subject: [PATCH] intel: Only build perf if drivers or tools are enabled Part-of: --- src/intel/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/meson.build b/src/intel/meson.build index e68253f2c8f..eef1662a5f4 100644 --- a/src/intel/meson.build +++ b/src/intel/meson.build @@ -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