diff --git a/toolchain/internal/llvm_distributions.bzl b/toolchain/internal/llvm_distributions.bzl index 62517edb..8f2ab7d4 100644 --- a/toolchain/internal/llvm_distributions.bzl +++ b/toolchain/internal/llvm_distributions.bzl @@ -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 @@ -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): diff --git a/toolchain/internal/release_name.bzl b/toolchain/internal/release_name.bzl index eb1b30c4..3da4fb6a 100755 --- a/toolchain/internal/release_name.bzl +++ b/toolchain/internal/release_name.bzl @@ -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"