Merge pull request #439 from alicefr/skip-rust-s390x

s390x: Skip rust for s390x
This commit is contained in:
James O. D. Hunt 2020-03-30 09:54:47 +01:00 committed by GitHub
commit 7cb647a78b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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