Skip to content

Commit

Permalink
17.0.5 and 17.0.6 for x86_64 (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
steple authored Dec 13, 2023
1 parent ade23e0 commit 214fc1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions toolchain/internal/llvm_distributions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,12 @@ _llvm_distributions = {
"clang+llvm-17.0.4-aarch64-linux-gnu.tar.xz": "18b326b3e17168fc423726b5059b4d55b6070d49408e51440ad3fca2ebb37779",
"clang+llvm-17.0.4-powerpc64le-linux-rhel-8.8.tar.xz": "2e3ac8b7288ed5d5c3549e457332bbf3c913022fdd7cfbe13fde46448f76d136",
"clang+llvm-17.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz": "6b45be6c0483b7ee3f63981678093b731fd9f4ea6987b4ceb6efde21890ffca7",

# 17.0.5
"clang+llvm-17.0.5-x86_64-linux-gnu-ubuntu-22.04.tar.xz": "5a3cedecd8e2e8663e84bec2f8e5522b8ea097f4a8b32637386f27ac1ca01818",

# 17.0.6
"clang+llvm-17.0.6-x86_64-linux-gnu-ubuntu-22.04.tar.xz": "884ee67d647d77e58740c1e645649e29ae9e8a6fe87c1376be0f3a30f3cc9ab3",
}

# Note: Unlike the user-specified llvm_mirror attribute, the URL prefixes in
Expand Down Expand Up @@ -379,6 +385,8 @@ _llvm_distributions_base_url = {
"17.0.2": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"17.0.3": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"17.0.4": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"17.0.5": "https://github.com/llvm/llvm-project/releases/download/llvmorg-",
"17.0.6": "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 ["17.0.4", "17.0.3", "17.0.2", "16.0.4", "16.0.3", "16.0.2"]:
if llvm_version in ["17.0.6", "17.0.5", "17.0.4", "17.0.3", "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 214fc1c

Please sign in to comment.