meson/get_llvm_tool_names-llvm18.patch

17 lines
657 B
Diff

Similar to commit 67afddbf431140c1ee064bf79a2fa5a95575488e with title
"environment: Add LLVM 18 support to get_llvm_tool_names()", but with
minor version following the upstream versioning change.
Index: meson-1.4.0rc2/mesonbuild/environment.py
===================================================================
--- meson-1.4.0rc2.orig/mesonbuild/environment.py
+++ meson-1.4.0rc2/mesonbuild/environment.py
@@ -188,6 +188,7 @@ def get_llvm_tool_names(tool: str) -> T.
# unless it becomes a stable release.
suffixes = [
'', # base (no suffix)
+ '-18.1', '181',
'-18', '18',
'-17', '17',
'-16', '16',