mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
meson: fix HAVE_LLVM version define in meson build
LLVM patch level is not included in HAVE_LLVM. Fixes:e6418ab156("meson: build "radv" vulkan driver for radeon hardware") Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan.c.baker@intel.com> Signed-off-by: Marc Dietrich <marvin24@gmx.de> (cherry picked from commita2a1b0e75e)
This commit is contained in:
parent
a989e999b4
commit
825e950aea
1 changed files with 1 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ if with_llvm
|
|||
_llvm_patch = _llvm_patch.split('g')[0]
|
||||
endif
|
||||
pre_args += [
|
||||
'-DHAVE_LLVM=0x0@0@@1@@2@'.format(_llvm_version[0], _llvm_version[1], _llvm_patch),
|
||||
'-DHAVE_LLVM=0x0@0@0@1@'.format(_llvm_version[0], _llvm_version[1]),
|
||||
'-DMESA_LLVM_VERSION_PATCH=@0@'.format(_llvm_patch),
|
||||
]
|
||||
elif with_amd_vk or with_gallium_radeonsi or with_gallium_swr
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue