From c33afb7146722c44bcedeef296d27a0d8402fb70 Mon Sep 17 00:00:00 2001 From: Gary Miguel Date: Sat, 9 Mar 2024 15:22:20 +0000 Subject: [PATCH] update llvm toolchain repo Change-Id: I033a4b201c72fe43e70702eed3c4098666398c1d --- WORKSPACE.bazel | 10 +++++----- tools/llvm_toolchain.bzl | 4 ++-- tools/llvm_toolchain_dependencies.bzl | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index a775530..109b50f 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -98,13 +98,13 @@ bootlin_toolchain( libc_impl = "glibc", ) -BAZEL_TOOLCHAIN_VERSION = "ade23e0e37c5308162c012a4f4224459c1c4fa22" +TOOLCHAINS_LLVM_VERSION = "bba94f8138ab454d70afcd263788b34e2801e2ba" http_archive( - name = "bazel_toolchain", - sha256 = "968e507ce913b93971aeb77b4b0a96f7b59b1f51cbaae57aefef4c573776ed56", - strip_prefix = "bazel-toolchain-%s" % BAZEL_TOOLCHAIN_VERSION, - url = "https://github.com/grailbio/bazel-toolchain/archive/%s.tar.gz" % BAZEL_TOOLCHAIN_VERSION, + name = "toolchains_llvm", + integrity = "sha256-IyBbm0rakJat7jSGvZ65xVGS2xQQhbXvmx8Q5EA5wlA=", + strip_prefix = "toolchains_llvm-%s" % TOOLCHAINS_LLVM_VERSION, + url = "https://github.com/bazel-contrib/toolchains_llvm/archive/%s.tar.gz" % TOOLCHAINS_LLVM_VERSION, ) load("//tools:llvm_toolchain_dependencies.bzl", "llvm_toolchain_dependencies") diff --git a/tools/llvm_toolchain.bzl b/tools/llvm_toolchain.bzl index 3e13820..023a160 100644 --- a/tools/llvm_toolchain.bzl +++ b/tools/llvm_toolchain.bzl @@ -4,11 +4,11 @@ instead of the system installed libraries. """ load( - "@bazel_toolchain//toolchain:deps.bzl", + "@toolchains_llvm//toolchain:deps.bzl", _llvm_toolchain_dependencies = "bazel_toolchain_dependencies", ) load( - "@bazel_toolchain//toolchain:rules.bzl", + "@toolchains_llvm//toolchain:rules.bzl", _llvm_toolchain = "llvm_toolchain", _llvm_toolchain_files = "llvm", ) diff --git a/tools/llvm_toolchain_dependencies.bzl b/tools/llvm_toolchain_dependencies.bzl index e5547fd..1a40c09 100644 --- a/tools/llvm_toolchain_dependencies.bzl +++ b/tools/llvm_toolchain_dependencies.bzl @@ -3,7 +3,7 @@ Provides a wrapper around `bazel_toolchain_dependencies` which also obtains the abspath to Bazel's external directory for use by the `llvm_toolchain` wrapper. """ -load("@bazel_toolchain//toolchain:deps.bzl", "bazel_toolchain_dependencies") +load("@toolchains_llvm//toolchain:deps.bzl", "bazel_toolchain_dependencies") load("//tools:local_config_info.bzl", "local_config_info") # Rename to (hopefully) be less confusing