Skip to content

Commit 5986587

Browse files
Radovan Birdicgnzlbg
Radovan Birdic
authored andcommitted
Added msa jobs for mips*-gnu* targets
1 parent e49f57f commit 5986587

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ci/run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ case ${TARGET} in
2323
i686-* | i586-*)
2424
export RUSTFLAGS="${RUSTFLAGS} -C relocation-model=static -Z plt=yes"
2525
;;
26+
#Unoptimized build uses fast-isel which breaks with msa
27+
mips-* | mipsel-*)
28+
export RUSTFLAGS="${RUSTFLAGS} -C llvm-args=-fast-isel=false"
29+
;;
2630
esac
2731

2832
echo "RUSTFLAGS=${RUSTFLAGS}"
@@ -75,6 +79,12 @@ case ${TARGET} in
7579
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+simd128,+unimplemented-simd128"
7680
cargo_test "--release --no-run"
7781
;;
82+
mips-*gnu* | mipsel-*gnu*)
83+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5"
84+
;;
85+
mips64*)
86+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa"
87+
;;
7888
*)
7989
;;
8090

0 commit comments

Comments
 (0)