From 364bdeeb8ab62be51a23edcc3874393a9edbf4d0 Mon Sep 17 00:00:00 2001 From: Asa Hammond Date: Wed, 1 Nov 2023 18:00:32 -0700 Subject: [PATCH 1/2] update hashes for 17.03, 17.04 --- toolchain/internal/llvm_distributions.bzl | 12 ++++++++++++ toolchain/internal/release_name.bzl | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/toolchain/internal/llvm_distributions.bzl b/toolchain/internal/llvm_distributions.bzl index 16485159..57d373e8 100644 --- a/toolchain/internal/llvm_distributions.bzl +++ b/toolchain/internal/llvm_distributions.bzl @@ -330,6 +330,16 @@ _llvm_distributions = { "clang+llvm-17.0.2-sparc64-unknown-linux-gnu.tar.xz": "950d1ef440f17e29c4201450ad619d3b4a37a0bbf15f19ce03195e0b4da7d73f", "clang+llvm-17.0.2-sparcv9-sun-solaris2.11.tar.xz": "3702914668b5758817374271fa8a41fe67c77b2e86f17706c9d6906f250de6ae", "clang+llvm-17.0.2-x86_64-linux-gnu-ubuntu-22.04.tar.xz": "df297df804766f8fb18f10a188af78e55d82bb8881751408c2fa694ca19163a8", + + # 17.0.3 + "clang+llvm-17.0.3-aarch64-linux-gnu.tar.xz": "289da98e4cbc157153e987ff24ce835717a36cfab03ecd03bf359378ee4ae9d7", + "clang+llvm-17.0.3-arm64-apple-darwin22.0.tar.xz": "da452a1aa33954c123d5264bd849ebc572a28e8511b868b43e82d6960fda60d7", + "clang+llvm-17.0.3-powerpc64le-linux-rhel-8.8.tar.xz": "fcba4ac2a717762ff1b5fe482a811648837d7dc7bf7b654702c80f2fa044d07d", + + # 17.0.4 + "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", } # Note: Unlike the user-specified llvm_mirror attribute, the URL prefixes in @@ -366,6 +376,8 @@ _llvm_distributions_base_url = { "16.0.6": "https://github.com/llvm/llvm-project/releases/download/llvmorg-", "17.0.1": "https://github.com/llvm/llvm-project/releases/download/llvmorg-", "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-", } def _get_auth(ctx, urls): diff --git a/toolchain/internal/release_name.bzl b/toolchain/internal/release_name.bzl index 3da4fb6a..81669739 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 ["17.0.2", "16.0.4", "16.0.3", "16.0.2"]: + if llvm_version in ["17.0.4", "17.0.2", "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" From be9b8bd6cb02dd8f574d809b3a7a5e3ab48ef709 Mon Sep 17 00:00:00 2001 From: Asa Hammond Date: Wed, 1 Nov 2023 18:44:04 -0700 Subject: [PATCH 2/2] typo --- toolchain/internal/release_name.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/internal/release_name.bzl b/toolchain/internal/release_name.bzl index 81669739..df2cb05f 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 ["17.0.4", "17.0.2", "17.0.2", "16.0.4", "16.0.3", "16.0.2"]: + if llvm_version in ["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"