intel: Only build perf if drivers or tools are enabled

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24974>
This commit is contained in:
Matt Turner 2023-08-30 14:47:30 -04:00 committed by Marge Bot
parent ce7d41bbc5
commit 01f5fd36c8

View 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