mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-11 15:39:33 -05: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
|
# bazel configs to explicitly target a platform
|
||||||
build:host --platforms @local_config_platform//:host
|
build:host --platforms @local_config_platform//:host
|
||||||
build:linux_amd64 --platforms @zig_sdk//libc_aware/platform:linux_amd64_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.34
|
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_amd64_static --platforms @zig_sdk//libc_aware/platform:linux_amd64_musl
|
||||||
build:linux_arm64_static --platforms @zig_sdk//libc_aware/platform:linux_arm64_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()
|
zig_toolchains()
|
||||||
|
|
||||||
register_toolchains(
|
register_toolchains(
|
||||||
"@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.34",
|
"@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.23",
|
||||||
"@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.34",
|
"@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.23",
|
||||||
"@zig_sdk//libc_aware/toolchain:linux_amd64_musl",
|
"@zig_sdk//libc_aware/toolchain:linux_amd64_musl",
|
||||||
"@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
|
"@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
|
||||||
"@zig_sdk//toolchain:linux_amd64_gnu.2.34",
|
"@zig_sdk//toolchain:linux_amd64_gnu.2.23",
|
||||||
"@zig_sdk//toolchain:linux_arm64_gnu.2.34",
|
"@zig_sdk//toolchain:linux_arm64_gnu.2.23",
|
||||||
"@zig_sdk//toolchain:linux_amd64_musl",
|
"@zig_sdk//toolchain:linux_amd64_musl",
|
||||||
"@zig_sdk//toolchain:linux_arm64_musl",
|
"@zig_sdk//toolchain:linux_arm64_musl",
|
||||||
"@zig_sdk//toolchain:darwin_amd64",
|
"@zig_sdk//toolchain:darwin_amd64",
|
||||||
|
@ -18,10 +18,10 @@ def hermetic_cc_deps():
|
|||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "hermetic_cc_toolchain",
|
name = "hermetic_cc_toolchain",
|
||||||
sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
|
|
||||||
urls = [
|
urls = [
|
||||||
"https://cdn.confidential.cloud/constellation/cas/sha256/43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
|
"https://cdn.confidential.cloud/constellation/cas/sha256/57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
|
||||||
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0-rc1/hermetic_cc_toolchain-v2.0.0-rc1.tar.gz",
|
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0/hermetic_cc_toolchain-v2.0.0.tar.gz",
|
||||||
],
|
],
|
||||||
type = "tar.gz",
|
type = "tar.gz",
|
||||||
|
sha256 = "57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
|
||||||
)
|
)
|
||||||
|
@ -61,7 +61,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "bootstrapper_linux_amd64",
|
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",
|
target_file = ":bootstrapper",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -38,7 +38,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "debugd_linux_amd64",
|
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",
|
target_file = ":debugd",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -40,7 +40,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "disk-mapper_linux_amd64",
|
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",
|
target_file = ":cmd",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -29,7 +29,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "qemu_metadata_api_linux_amd64",
|
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",
|
target_file = ":qemu-metadata-api",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
@ -40,7 +40,7 @@ pkg_tar(
|
|||||||
":qemu_metadata_api_linux_amd64",
|
":qemu_metadata_api_linux_amd64",
|
||||||
],
|
],
|
||||||
mode = "0755",
|
mode = "0755",
|
||||||
remap_paths = {"/platform:linux_amd64_gnu.2.34": "/server"},
|
remap_paths = {"/platform:linux_amd64_gnu.2.23": "/server"},
|
||||||
)
|
)
|
||||||
|
|
||||||
oci_image(
|
oci_image(
|
||||||
|
@ -26,7 +26,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "measurement-reader_linux_amd64",
|
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",
|
target_file = ":cmd",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -26,7 +26,7 @@ go_binary(
|
|||||||
|
|
||||||
platform_binary(
|
platform_binary(
|
||||||
name = "upgrade_agent_linux_amd64",
|
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",
|
target_file = ":cmd",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user