mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 19:17:55 +08:00
b4b8719ccf
Cherry-picked and extended from https://github.com/microsoft/vcpkg/pull/38658. And a minor refactoring for easier management of patches. llvm 18 changes for https://github.com/microsoft/vcpkg/pull/37599, squashed from https://github.com/microsoft/vcpkg/pull/37599#issuecomment-2112721881.
14 lines
453 B
Diff
14 lines
453 B
Diff
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
|
|
index 86bbbb1368b8..54fb50af117d 100644
|
|
--- a/mesonbuild/environment.py
|
|
+++ b/mesonbuild/environment.py
|
|
@@ -188,6 +188,8 @@ def get_llvm_tool_names(tool: str) -> T.List[str]:
|
|
# unless it becomes a stable release.
|
|
suffixes = [
|
|
'', # base (no suffix)
|
|
+ '-18.1', '18.1',
|
|
+ '-18', '18',
|
|
'-17', '17',
|
|
'-16', '16',
|
|
'-15', '15',
|