constellation/bazel/toolchains/hermetic_cc_deps.bzl

28 lines
1.2 KiB
Python
Raw Normal View History

"""hermetic cc toolchain (bazel-zig-cc) build rules"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def hermetic_cc_deps():
"""Loads the dependencies for hermetic_cc_toolchain."""
http_archive(
name = "bazel_skylib",
sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
"https://cdn.confidential.cloud/constellation/cas/sha256/66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
],
type = "tar.gz",
)
http_archive(
name = "hermetic_cc_toolchain",
urls = [
"https://cdn.confidential.cloud/constellation/cas/sha256/57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0/hermetic_cc_toolchain-v2.0.0.tar.gz",
],
type = "tar.gz",
sha256 = "57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
)