diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2021-06-14 23:11:49 +0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-14 09:10:34 -0700 |
commit | fc93c07e9ed47d2701ebe99e2e45f1d878b42078 (patch) | |
tree | d12267f5ac6f76f8f5366aebf7164c2f99130262 | |
parent | 0c7cdb18624283fe1655d28d0df0867d21838491 (diff) | |
download | meson-fc93c07e9ed47d2701ebe99e2e45f1d878b42078.zip meson-fc93c07e9ed47d2701ebe99e2e45f1d878b42078.tar.gz meson-fc93c07e9ed47d2701ebe99e2e45f1d878b42078.tar.bz2 |
environment: Add LLVM suffixes for 11 and 12
Both LLVM 11 and 12 are stable releases. Note that FreeBSD changes the
way to version LLVM executables in LLVM 10.
-rw-r--r-- | mesonbuild/environment.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 03cd16e..6248c58 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -246,7 +246,9 @@ def get_llvm_tool_names(tool: str) -> T.List[str]: # unless it becomes a stable release. suffixes = [ '', # base (no suffix) - '-10', '100', + '-12', '12', + '-11', '11', + '-10', '10', '-9', '90', '-8', '80', '-7', '70', @@ -258,7 +260,7 @@ def get_llvm_tool_names(tool: str) -> T.List[str]: '-3.7', '37', '-3.6', '36', '-3.5', '35', - '-11', # Debian development snapshot + '-13', # Debian development snapshot '-devel', # FreeBSD development snapshot ] names = [] |