2023-04-27 04:27:43 -04:00
|
|
|
"""hermetic cc toolchain (bazel-zig-cc) build rules"""
|
2023-01-30 11:15:59 -05:00
|
|
|
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
2023-04-27 04:27:43 -04:00
|
|
|
def hermetic_cc_deps():
|
|
|
|
"""Loads the dependencies for hermetic_cc_toolchain."""
|
2023-01-30 11:15:59 -05:00
|
|
|
|
|
|
|
http_archive(
|
2023-04-27 04:27:43 -04:00
|
|
|
name = "hermetic_cc_toolchain",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2024-05-10 05:30:45 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/3bc6ec127622fdceb4129cb06b6f7ab098c4d539124dde96a6318e7c32a53f7a",
|
|
|
|
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v3.0.1/hermetic_cc_toolchain-v3.0.1.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2024-05-10 05:30:45 -04:00
|
|
|
sha256 = "3bc6ec127622fdceb4129cb06b6f7ab098c4d539124dde96a6318e7c32a53f7a",
|
2023-01-30 11:15:59 -05:00
|
|
|
)
|