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:
renovate[bot] 2023-06-09 17:39:30 +02:00 committed by GitHub
parent b71b5103ae
commit 167052d443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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",

View File

@ -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",
)

View File

@ -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"],
)

View File

@ -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"],
)

View File

@ -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"],
)

View File

@ -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(

View File

@ -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"],
)

View File

@ -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"],
)