Module: Mesa
Branch: master
Commit: 40087ffc5b91d0e2800c29d4de76b506deb21f00
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=40087ffc5b91d0e2800c29d4de76b506deb21f00

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Fri Sep 20 22:22:13 2019 +0200

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]>

---

 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to