Skip to content

Commit

Permalink
Set release name for ubuntu + 17.0.2 (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlee authored Oct 4, 2023
1 parent 91abcad commit a76d197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions toolchain/internal/llvm_distributions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ _llvm_distributions = {
# 16.0.6
"clang+llvm-16.0.6-aarch64-linux-gnu.tar.xz": "283e904048425f05798a98f1b288ae0d28ce75eb1049e0837f959e911369945b",
"clang+llvm-16.0.6-powerpc64le-linux-rhel-8.7.tar.xz": "1f8d73c342efc82618bd8d58fa8855bc7e70bd2a6ed9646065aabfa4b468e82d",

# 17.0.2
"clang+llvm-17.0.2-x86_64-linux-gnu-ubuntu-22.04.tar.xz": "df297df804766f8fb18f10a188af78e55d82bb8881751408c2fa694ca19163a8",
}

# Note: Unlike the user-specified llvm_mirror attribute, the URL prefixes in
Expand Down Expand Up @@ -347,6 +350,7 @@ _llvm_distributions_base_url = {
"16.0.4": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"16.0.5": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"16.0.6": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"17.0.2": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
}

def _get_auth(ctx, urls):
Expand Down
2 changes: 1 addition & 1 deletion toolchain/internal/release_name.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _ubuntu_osname(arch, version, major_llvm_version, llvm_version):
os_name = "linux-gnu-ubuntu-16.04"
else:
# Availability may be sparse for patch releases.
if llvm_version in ["16.0.4", "16.0.3", "16.0.2"]:
if llvm_version in ["17.0.2", "16.0.4", "16.0.3", "16.0.2"]:
os_name = "linux-gnu-ubuntu-22.04"
elif llvm_version in ["16.0.1"]:
os_name = "linux-gnu-ubuntu-20.04"
Expand Down

0 comments on commit a76d197

Please sign in to comment.