summaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-09-04 23:06:19 +0300
committerEli Schwartz <eschwartz93@gmail.com>2024-09-05 11:22:10 -0400
commit3bb3d576a1f86fff2afdb345e0283da062b597df (patch)
treec54e33b036986204dfc5e4e73b8a810222c2a79b /mesonbuild/environment.py
parent1e6e4c8d571e3bd415f9b8285f6f33170ba81761 (diff)
downloadmeson-3bb3d576a1f86fff2afdb345e0283da062b597df.tar.gz
Add support for LLVM 19 in Debian.
Originally from here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080463
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 5f4de73d5..fce295dbc 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -196,6 +196,8 @@ def get_llvm_tool_names(tool: str) -> T.List[str]:
# unless it becomes a stable release.
suffixes = [
'', # base (no suffix)
+ '-19.1', '19.1',
+ '-19', '19',
'-18.1', '18.1',
'-18', '18',
'-17', '17',
@@ -217,7 +219,7 @@ def get_llvm_tool_names(tool: str) -> T.List[str]:
'-3.7', '37',
'-3.6', '36',
'-3.5', '35',
- '-19', # Debian development snapshot
+ '-20', # Debian development snapshot
'-devel', # FreeBSD development snapshot
]
names: T.List[str] = []