mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
meson: Fix LLVM requires for radeonsi
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
48f64e591f
commit
2d1a3bf657
1 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue