Skip to content
Snippets Groups Projects
Commit 825e950a authored by Marc Dietrich's avatar Marc Dietrich Committed by Juan A. Suárez
Browse files

meson: fix HAVE_LLVM version define in meson build


LLVM patch level is not included in HAVE_LLVM.

Fixes: e6418ab1566d ("meson: build "radv" vulkan driver for radeon hardware")
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarDylan Baker <dylan.c.baker@intel.com>
Signed-off-by: default avatarMarc Dietrich <marvin24@gmx.de>
(cherry picked from commit a2a1b0e7)
parent a989e999
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment