From: Bas Nieuwenhuizen Date: Fri, 20 Sep 2019 20:22:13 +0000 (+0200) Subject: amd: Build aco only if radv is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40087ffc5b91d0e2800c29d4de76b506deb21f00;p=mesa.git amd: Build aco only if radv is enabled ACO depends on C++14, but radeonsi/radv with LLVM 8,9 do not. Let us only require it for RADV, since that is the only user. Fixes: a70a9987181 "radv/aco: Setup alternate path in RADV to support the experimental ACO compiler" Reviewed-by: Marek Olšák --- diff --git a/src/amd/meson.build b/src/amd/meson.build index 1e459b26c1a..085abecd2a9 100644 --- a/src/amd/meson.build +++ b/src/amd/meson.build @@ -22,7 +22,7 @@ inc_amd = include_directories('.') subdir('addrlib') subdir('common') -subdir('compiler') if with_amd_vk + subdir('compiler') subdir('vulkan') endif