mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
amd: require LLVM when amd-use-llvm is enabled
Commit2aaa6ebb"build/amd: add amd-use-llvm build option" allows to build radeonsi and radv without LLVM dependency so LLVM constraint is applicable when amd-use-llvm=true Fixes:82047fa8("amd: drop support for LLVM 15, 16, 17") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37695>
This commit is contained in:
parent
7ef5653b11
commit
dd2476a257
1 changed files with 1 additions and 1 deletions
|
|
@ -1757,7 +1757,7 @@ endif
|
||||||
llvm_has_mcjit = host_machine.cpu_family() in ['aarch64', 'arm', 'ppc', 'ppc64', 's390x', 'x86', 'x86_64']
|
llvm_has_mcjit = host_machine.cpu_family() in ['aarch64', 'arm', 'ppc', 'ppc64', 's390x', 'x86', 'x86_64']
|
||||||
llvm_with_orcjit = get_option('llvm-orcjit') or not llvm_has_mcjit
|
llvm_with_orcjit = get_option('llvm-orcjit') or not llvm_has_mcjit
|
||||||
|
|
||||||
if with_amd_vk or with_gallium_radeonsi
|
if (with_amd_vk or with_gallium_radeonsi) and amd_with_llvm
|
||||||
_llvm_version = '>= 18.0.0'
|
_llvm_version = '>= 18.0.0'
|
||||||
elif with_clc or llvm_with_orcjit
|
elif with_clc or llvm_with_orcjit
|
||||||
_llvm_version = '>= 15.0.0'
|
_llvm_version = '>= 15.0.0'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue