Run build jobs with target-features on mips and ppc
This commit is contained in:
parent
825f137f4a
commit
28e2f594b8
1 changed files with 14 additions and 4 deletions
|
|
@ -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"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue