summaryrefslogtreecommitdiffstats
path: root/src/amd/meson.build
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-09-20 22:22:13 +0200
committerBas Nieuwenhuizen <[email protected]>2019-09-21 14:06:41 +0200
commit40087ffc5b91d0e2800c29d4de76b506deb21f00 (patch)
treeece29cae8850b4aff96403136d7280bbcf935e54 /src/amd/meson.build
parent7955fabcf89c7265f7f4244e46c5bcb83b9687fa (diff)
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 <[email protected]>
Diffstat (limited to 'src/amd/meson.build')
-rw-r--r--src/amd/meson.build2
1 files changed, 1 insertions, 1 deletions
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