mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
meson: Adjust Clover's required LLVM modules
When coming from CMake, all-targets doesn't exist, and Clover's mechanism for finding Clang apparently requires the OpenMP frontend lib but doesn't automatically pull it in. Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680>
This commit is contained in:
parent
959e017799
commit
80817b6e34
1 changed files with 3 additions and 2 deletions
|
|
@ -1479,9 +1479,10 @@ if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
|
||||||
endif
|
endif
|
||||||
if with_gallium_opencl
|
if with_gallium_opencl
|
||||||
llvm_modules += [
|
llvm_modules += [
|
||||||
'all-targets', 'linker', 'coverage', 'instrumentation', 'ipo', 'irreader',
|
'linker', 'coverage', 'instrumentation', 'ipo', 'irreader',
|
||||||
'lto', 'option', 'objcarcopts', 'profiledata',
|
'lto', 'option', 'objcarcopts', 'profiledata'
|
||||||
]
|
]
|
||||||
|
llvm_optional_modules += ['frontendopenmp']
|
||||||
endif
|
endif
|
||||||
if with_microsoft_clc
|
if with_microsoft_clc
|
||||||
llvm_modules += ['target', 'linker', 'irreader', 'option', 'libdriver']
|
llvm_modules += ['target', 'linker', 'irreader', 'option', 'libdriver']
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue