Run build jobs with target-features on mips and ppc

This commit is contained in:
gnzlbg 2019-04-16 11:39:57 +02:00 committed by gnzlbg
parent 825f137f4a
commit 28e2f594b8

View file

@ -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"
;;
*)
;;