mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
meson: Always add LLVM coroutines module.
It gets used by the gallium auxiliary draw module, which gets used
pretty much always when LLVM is used as JIT.
At the same time most builds don't hit the issue here because the
shared library of LLVM contains all modules.
Fixes: d32690b43c ("gallivm: add coroutine pass manager support")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/951
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
parent
3a08110d43
commit
72665a0f1f
1 changed files with 1 additions and 4 deletions
|
|
@ -1249,7 +1249,7 @@ if dep_libdrm.found()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit']
|
llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit']
|
||||||
llvm_optional_modules = []
|
llvm_optional_modules = ['coroutines']
|
||||||
if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
|
if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
|
||||||
llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo']
|
llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo']
|
||||||
if with_gallium_r600
|
if with_gallium_r600
|
||||||
|
|
@ -1262,9 +1262,6 @@ if with_gallium_opencl
|
||||||
'lto', 'option', 'objcarcopts', 'profiledata',
|
'lto', 'option', 'objcarcopts', 'profiledata',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
if with_gallium_opencl or with_gallium_softpipe
|
|
||||||
llvm_optional_modules += ['coroutines']
|
|
||||||
endif
|
|
||||||
|
|
||||||
if with_amd_vk or with_gallium_radeonsi
|
if with_amd_vk or with_gallium_radeonsi
|
||||||
_llvm_version = '>= 8.0.0'
|
_llvm_version = '>= 8.0.0'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue