amd: Build aco only if radv is enabled
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 20 Sep 2019 20:22:13 +0000 (22:22 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 21 Sep 2019 12:06:41 +0000 (14:06 +0200)
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 <marek.olsak@amd.com>
src/amd/meson.build

index 1e459b26c1ab47e1088a2d052875005923d25bb6..085abecd2a9ee2d868d2b8d4abcc9b4f780cf15f 100644 (file)
@@ -22,7 +22,7 @@ inc_amd = include_directories('.')
 
 subdir('addrlib')
 subdir('common')
-subdir('compiler')
 if with_amd_vk
+  subdir('compiler')
   subdir('vulkan')
 endif