mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
deps: update dependency hermetic_cc_toolchain to v2.0.0 (#1860)
* deps: update dependency hermetic_cc_toolchain to v2.0.0 * deps: tidy all modules * bazel: target glibc 2.23 to enable rbe --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com> Co-authored-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
b71b5103ae
commit
167052d443
4
.bazelrc
4
.bazelrc
@ -40,8 +40,8 @@ build:debug --compilation_mode=dbg --strip=never
|
||||
|
||||
# bazel configs to explicitly target a platform
|
||||
build:host --platforms @local_config_platform//:host
|
||||
build:linux_amd64 --platforms @zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34
|
||||
build:linux_arm64 --platforms @zig_sdk//libc_aware/platform:linux_arm64_gnu.2.34
|
||||
build:linux_amd64 --platforms @zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23
|
||||
build:linux_arm64 --platforms @zig_sdk//libc_aware/platform:linux_arm64_gnu.2.23
|
||||
build:linux_amd64_static --platforms @zig_sdk//libc_aware/platform:linux_amd64_musl
|
||||
build:linux_arm64_static --platforms @zig_sdk//libc_aware/platform:linux_arm64_musl
|
||||
|
||||
|
@ -88,12 +88,12 @@ load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains"
|
||||
zig_toolchains()
|
||||
|
||||
register_toolchains(
|
||||
"@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.34",
|
||||
"@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.34",
|
||||
"@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.23",
|
||||
"@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.23",
|
||||
"@zig_sdk//libc_aware/toolchain:linux_amd64_musl",
|
||||
"@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
|
||||
"@zig_sdk//toolchain:linux_amd64_gnu.2.34",
|
||||
"@zig_sdk//toolchain:linux_arm64_gnu.2.34",
|
||||
"@zig_sdk//toolchain:linux_amd64_gnu.2.23",
|
||||
"@zig_sdk//toolchain:linux_arm64_gnu.2.23",
|
||||
"@zig_sdk//toolchain:linux_amd64_musl",
|
||||
"@zig_sdk//toolchain:linux_arm64_musl",
|
||||
"@zig_sdk//toolchain:darwin_amd64",
|
||||
|
@ -18,10 +18,10 @@ def hermetic_cc_deps():
|
||||
|
||||
http_archive(
|
||||
name = "hermetic_cc_toolchain",
|
||||
sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
|
||||
urls = [
|
||||
"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",
|
||||
"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",
|
||||
)
|
||||
|
@ -61,7 +61,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "bootstrapper_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":bootstrapper",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -38,7 +38,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "debugd_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":debugd",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -40,7 +40,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "disk-mapper_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":cmd",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -29,7 +29,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "qemu_metadata_api_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":qemu-metadata-api",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
@ -40,7 +40,7 @@ pkg_tar(
|
||||
":qemu_metadata_api_linux_amd64",
|
||||
],
|
||||
mode = "0755",
|
||||
remap_paths = {"/platform:linux_amd64_gnu.2.34": "/server"},
|
||||
remap_paths = {"/platform:linux_amd64_gnu.2.23": "/server"},
|
||||
)
|
||||
|
||||
oci_image(
|
||||
|
@ -26,7 +26,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "measurement-reader_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":cmd",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ go_binary(
|
||||
|
||||
platform_binary(
|
||||
name = "upgrade_agent_linux_amd64",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.34",
|
||||
platform = "@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.23",
|
||||
target_file = ":cmd",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user