From 2ac3090c20b110392166d652070958c8b4a0cbb1 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Thu, 26 Mar 2020 15:36:08 +0000 Subject: [PATCH] s390x: Skip rust for s390x Need to verify that rust deps are available on s390x Fixes #438 Signed-off-by: Alice Frosi --- scripts/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib.sh b/scripts/lib.sh index 9f361358b4..a599712cca 100644 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -355,7 +355,7 @@ RUN ln -sf /usr/bin/g++ /bin/musl-g++ # powerpc have no musl target, don't setup rust enviroment # since we cannot static link agent. Besides, there is # also long double representation problem when building musl-libc - if [ "${architecture}" == "ppc64le" ]; then + if [ "${architecture}" == "ppc64le" ] || [ "${architecture}" == "s390x" ]; then sed \ -e "s|@GO_VERSION@|${GO_VERSION}|g" \ -e "s|@OS_VERSION@|${OS_VERSION:-}|g" \