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

Author: Dylan Baker <[email protected]>
Date:   Mon Nov 20 16:26:06 2017 -0800

meson: Fix LLVM requires for radeonsi

Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>

---

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index cfe4afa550..cba08682bc 100644
--- a/meson.build
+++ b/meson.build
@@ -718,7 +718,7 @@ if with_gallium_freedreno
 endif
 
 llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit']
-if with_amd_vk
+if with_amd_vk or with_gallium_radeonsi
   llvm_modules += ['amdgpu', 'bitreader', 'ipo']
 endif
 
@@ -726,7 +726,7 @@ _llvm = get_option('llvm')
 if _llvm == 'auto'
   dep_llvm = dependency(
     'llvm', version : '>= 3.9.0', modules : llvm_modules,
-    required : with_amd_vk,
+    required : with_amd_vk or with_gallium_radeonsi,
   )
   with_llvm = dep_llvm.found()
 elif _llvm == 'true'

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

Reply via email to