forked from pool/meson
b641c0ef85
- Port back get_llvm_tool_names-llvm17.patch to accept LLVM 17. OBS-URL: https://build.opensuse.org/request/show/1113247 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=259
23 lines
763 B
Diff
23 lines
763 B
Diff
From d0b09898c703f6c10ec5a6b2aeace0df2e3570aa Mon Sep 17 00:00:00 2001
|
|
From: Christoph Reiter <reiter.christoph@gmail.com>
|
|
Date: Sat, 23 Sep 2023 17:21:43 +0200
|
|
Subject: [PATCH] get_llvm_tool_names: add llvm 17
|
|
|
|
this fixes the "frameworks: 15 llvm" tests with llvm 17
|
|
---
|
|
mesonbuild/environment.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
|
|
index 53cb1206fef..5c7d78b9028 100644
|
|
--- a/mesonbuild/environment.py
|
|
+++ b/mesonbuild/environment.py
|
|
@@ -157,6 +157,7 @@ def get_llvm_tool_names(tool: str) -> T.List[str]:
|
|
# unless it becomes a stable release.
|
|
suffixes = [
|
|
'', # base (no suffix)
|
|
+ '-17', '17',
|
|
'-16', '16',
|
|
'-15', '15',
|
|
'-14', '14',
|