mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-21 13:34:48 -04:00
deps: rename bazel-zig-cc to hermetic_cc_toolchain (#1695)
This commit is contained in:
parent
bf051174f6
commit
0c206e62d0
4 changed files with 11 additions and 17 deletions
|
@ -1,9 +1,9 @@
|
|||
"""bazel-zig-cc build rules"""
|
||||
"""hermetic cc toolchain (bazel-zig-cc) build rules"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def zig_cc_deps():
|
||||
"""Loads the dependencies for bazel-zig-cc."""
|
||||
def hermetic_cc_deps():
|
||||
"""Loads the dependencies for hermetic_cc_toolchain."""
|
||||
|
||||
http_archive(
|
||||
name = "bazel_skylib",
|
||||
|
@ -16,16 +16,12 @@ def zig_cc_deps():
|
|||
type = "tar.gz",
|
||||
)
|
||||
|
||||
# TODO(malt3): Update to a release version once the next release is out.
|
||||
# Upgraded to work around https://github.com/uber/bazel-zig-cc/issues/22
|
||||
# See also https://github.com/uber/bazel-zig-cc/pull/23
|
||||
http_archive(
|
||||
name = "bazel-zig-cc",
|
||||
sha256 = "bea372f7f9bd8541f7b0a152c76c7b9396201c36a0ed229b36c48301815c3141",
|
||||
strip_prefix = "bazel-zig-cc-f3e4542bd62f4aef794a3d184140a9d30b8fadb8",
|
||||
name = "hermetic_cc_toolchain",
|
||||
sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/bea372f7f9bd8541f7b0a152c76c7b9396201c36a0ed229b36c48301815c3141",
|
||||
"https://github.com/uber/bazel-zig-cc/archive/f3e4542bd62f4aef794a3d184140a9d30b8fadb8.tar.gz",
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
|
||||
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0-rc1/hermetic_cc_toolchain-v2.0.0-rc1.tar.gz",
|
||||
],
|
||||
type = "tar.gz",
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue