From 28e2f594b88f5e4e6d455ded391f7cf37aefb380 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Tue, 16 Apr 2019 11:39:57 +0200 Subject: [PATCH] Run build jobs with target-features on mips and ppc --- library/stdarch/ci/run.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/library/stdarch/ci/run.sh b/library/stdarch/ci/run.sh index aaaac176c1d0..d98b68eb0516 100755 --- a/library/stdarch/ci/run.sh +++ b/library/stdarch/ci/run.sh @@ -80,11 +80,21 @@ case ${TARGET} in cargo_test "--release --no-run" ;; mips-*gnu* | mipsel-*gnu*) - export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5" - ;; + export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5" + cargo_test "--release" + ;; mips64*) - export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa" - ;; + export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa" + cargo_test "--release" + ;; + powerpc*) + OLD_RUSTFLAGS="${RUSTFLAGS}" + export RUSTFLAGS="${OLD_RUSTFLAGS} -C target-feature=+altivec" + cargo_test "--release" + + export RUSTFLAGS="${OLD_RUSTFLAGS} -C target-feature=+vsx" + cargo_test "--release" + ;; *) ;;