From 513f4e0d36a8920b425d1ca3890e7db50aaffb66 Mon Sep 17 00:00:00 2001 From: Corbin McNeely-Smith <58151731+restingbull@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:24:01 -0600 Subject: [PATCH] elide toolchains --- .../starlark/core/repositories/download.bzl | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/starlark/core/repositories/download.bzl b/src/main/starlark/core/repositories/download.bzl index 09ff99155..7a80f04b0 100644 --- a/src/main/starlark/core/repositories/download.bzl +++ b/src/main/starlark/core/repositories/download.bzl @@ -48,24 +48,24 @@ def kt_download_local_dev_dependencies(): sha256 = versions.SKYLIB_SHA, ) - maybe( - http_archive, - name = "bazel_toolchains", - sha256 = versions.BAZEL_TOOLCHAINS_SHA, - strip_prefix = "bazel-toolchains-%s" % versions.BAZEL_TOOLCHAINS_VERSION, - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/{0}/bazel-toolchains-{0}.tar.gz".format(versions.BAZEL_TOOLCHAINS_VERSION), - "https://github.com/bazelbuild/bazel-toolchains/releases/download/{0}/bazel-toolchains-{0}.tar.gz".format(versions.BAZEL_TOOLCHAINS_VERSION), - ], - ) +# maybe( +# http_archive, +# name = "bazel_toolchains", +# sha256 = versions.BAZEL_TOOLCHAINS_SHA, +# strip_prefix = "bazel-toolchains-%s" % versions.BAZEL_TOOLCHAINS_VERSION, +# urls = [ +# "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/{0}/bazel-toolchains-{0}.tar.gz".format(versions.BAZEL_TOOLCHAINS_VERSION), +# "https://github.com/bazelbuild/bazel-toolchains/releases/download/{0}/bazel-toolchains-{0}.tar.gz".format(versions.BAZEL_TOOLCHAINS_VERSION), +# ], +# ) # This tarball intentionally does not have a SHA256 because the upstream URL can change without notice # For more context: https://github.com/bazelbuild/bazel-toolchains/blob/0c1f7c3c5f9e63f1e0ee91738b964937eea2d3e0/WORKSPACE#L28-L32 - maybe( - http_archive, - name = "buildkite_config", - urls = versions.RBE.URLS, - ) + # maybe( + # http_archive, + # name = "buildkite_config", + # urls = versions.RBE.URLS, + # ) versions.use_repository( name = "rules_python",