From 0cb681fdf8f13c130f88cc95007fe1a3a695f558 Mon Sep 17 00:00:00 2001 From: Jan Schintag Date: Wed, 13 Dec 2023 11:53:00 +0100 Subject: [PATCH] Enable support for s390x architecture Add s390x to build targets. Signed-off-by: Jan Schintag --- cmd/BUILD.bazel | 1 + hack/prepare-release.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cmd/BUILD.bazel b/cmd/BUILD.bazel index 7bd2d60..67b0911 100644 --- a/cmd/BUILD.bazel +++ b/cmd/BUILD.bazel @@ -55,6 +55,7 @@ alias( "@io_bazel_rules_go//go/platform:linux_arm64": "@bazeldnf-linux-arm64//file:downloaded", "@io_bazel_rules_go//go/platform:linux_ppc64": "@bazeldnf-linux-ppc64//file:downloaded", "@io_bazel_rules_go//go/platform:linux_ppc64le": "@bazeldnf-linux-ppc64le//file:downloaded", + "@io_bazel_rules_go//go/platform:linux_s390x": "@bazeldnf-linux-s390x//file:downloaded", "@io_bazel_rules_go//go/platform:darwin_amd64": "@bazeldnf-darwin-amd64//file:downloaded", "@io_bazel_rules_go//go/platform:darwin_arm64": "@bazeldnf-darwin-arm64//file:downloaded", "//conditions:default": "cmd", diff --git a/hack/prepare-release.sh b/hack/prepare-release.sh index f538e70..3629dfd 100755 --- a/hack/prepare-release.sh +++ b/hack/prepare-release.sh @@ -42,6 +42,7 @@ build_arch darwin amd64 build_arch darwin arm64 build_arch linux ppc64 build_arch linux ppc64le +build_arch linux s390x cat <./deps.bzl load( @@ -79,6 +80,7 @@ write_arch darwin amd64 write_arch darwin arm64 write_arch linux ppc64 write_arch linux ppc64le +write_arch linux s390x git commit -a -m "Bump prebuilt binary references for ${VERSION}"