From 3bb3d576a1f86fff2afdb345e0283da062b597df Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 4 Sep 2024 23:06:19 +0300 Subject: [PATCH] Add support for LLVM 19 in Debian. Originally from here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080463 --- mesonbuild/environment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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] = []