mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
meson: fix link failure with llvm-18
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10739
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10775
cc: mesa-stable
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28267>
(cherry picked from commit 88a9576a3e)
This commit is contained in:
parent
c34dc4bebf
commit
6c9706d99e
2 changed files with 5 additions and 2 deletions
|
|
@ -1794,7 +1794,7 @@
|
|||
"description": "meson: fix link failure with llvm-18",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1722,7 +1722,7 @@ if with_clc
|
|||
# all-targets is needed to support static linking LLVM build with multiple targets.
|
||||
# windowsdriver is needded with LLVM>=15 and frontendhlsl is needed with LLVM>=16,
|
||||
# but we don't know what LLVM version we are using yet
|
||||
llvm_optional_modules += ['all-targets', 'windowsdriver', 'frontendhlsl']
|
||||
llvm_optional_modules += ['all-targets', 'windowsdriver', 'frontendhlsl', 'frontenddriver']
|
||||
endif
|
||||
draw_with_llvm = get_option('draw-use-llvm')
|
||||
if draw_with_llvm
|
||||
|
|
@ -1866,6 +1866,9 @@ if with_clc
|
|||
if dep_llvm.version().version_compare('>= 16.0')
|
||||
clang_modules += 'clangASTMatchers'
|
||||
endif
|
||||
if dep_llvm.version().version_compare('>= 18.0')
|
||||
clang_modules += 'clangAPINotes'
|
||||
endif
|
||||
|
||||
dep_clang = []
|
||||
foreach m : clang_modules
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue