mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bazel: migrate hermetic_cc_toolchain to bzlmod
This commit is contained in:
parent
3be4adb7c4
commit
d179fae776
@ -1,3 +1,4 @@
|
|||||||
module(name = "constellation")
|
module(name = "constellation")
|
||||||
|
|
||||||
bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
||||||
|
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0")
|
||||||
|
@ -202,10 +202,6 @@ buildifier_deps()
|
|||||||
|
|
||||||
# C / C++ toolchains
|
# C / C++ toolchains
|
||||||
|
|
||||||
load("//bazel/toolchains:hermetic_cc_deps.bzl", "hermetic_cc_deps")
|
|
||||||
|
|
||||||
hermetic_cc_deps()
|
|
||||||
|
|
||||||
load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")
|
load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")
|
||||||
|
|
||||||
# If needed, we can specify a specific version of the Zig toolchain to use.
|
# If needed, we can specify a specific version of the Zig toolchain to use.
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
"""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 = "hermetic_cc_toolchain",
|
|
||||||
urls = [
|
|
||||||
"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",
|
|
||||||
],
|
|
||||||
type = "tar.gz",
|
|
||||||
sha256 = "3bc6ec127622fdceb4129cb06b6f7ab098c4d539124dde96a6318e7c32a53f7a",
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user