Skip to content

Commit

Permalink
elide toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
restingbull committed Dec 1, 2024
1 parent 1703c7e commit 513f4e0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/main/starlark/core/repositories/download.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 513f4e0

Please sign in to comment.