From 969ddfbd729aea4fc2d8fdb4d212c02cbd27b203 Mon Sep 17 00:00:00 2001 From: vitt-bagal Date: Thu, 21 Apr 2022 01:47:26 -0700 Subject: [PATCH] Add fast build support for s390x --- hack/lib/golang.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 2865da28dae..5e1d9921ba6 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -213,8 +213,8 @@ kube::golang::setup_platforms() { elif [[ "${KUBE_FASTBUILD:-}" == "true" ]]; then host_arch=$(kube::util::host_arch) - if [[ "${host_arch}" != "amd64" && "${host_arch}" != "arm64" && "${host_arch}" != "ppc64le" ]]; then - # on any platform other than amd64, arm64 and ppc64le, we just default to amd64 + if [[ "${host_arch}" != "amd64" && "${host_arch}" != "arm64" && "${host_arch}" != "ppc64le" && "${host_arch}" != "s390x" ]]; then + # on any platform other than amd64, arm64, ppc64le and s390x, we just default to amd64 host_arch="amd64" fi KUBE_SERVER_PLATFORMS=("linux/${host_arch}")