From 40087ffc5b91d0e2800c29d4de76b506deb21f00 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 20 Sep 2019 22:22:13 +0200 Subject: [PATCH] amd: Build aco only if radv is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/amd/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2