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)
commit40087ffc5b91d0e2800c29d4de76b506deb21f00
treeece29cae8850b4aff96403136d7280bbcf935e54
parent7955fabcf89c7265f7f4244e46c5bcb83b9687fa
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 <marek.olsak@amd.com>
src/amd/meson.build