Skip to content

Commit

Permalink
Added msa jobs for mips*-gnu* targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Radovan Birdic authored and gnzlbg committed Apr 9, 2019
1 parent e49f57f commit 5986587
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ case ${TARGET} in
i686-* | i586-*)
export RUSTFLAGS="${RUSTFLAGS} -C relocation-model=static -Z plt=yes"
;;
#Unoptimized build uses fast-isel which breaks with msa
mips-* | mipsel-*)
export RUSTFLAGS="${RUSTFLAGS} -C llvm-args=-fast-isel=false"
;;
esac

echo "RUSTFLAGS=${RUSTFLAGS}"
Expand Down Expand Up @@ -75,6 +79,12 @@ case ${TARGET} in
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+simd128,+unimplemented-simd128"
cargo_test "--release --no-run"
;;
mips-*gnu* | mipsel-*gnu*)
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5"
;;
mips64*)
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa"
;;
*)
;;

Expand Down

0 comments on commit 5986587

Please sign in to comment.