Skip to content

Commit 9e9c09e

Browse files
committed
travis linux VM do not all support avx2
1 parent d3ee903 commit 9e9c09e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ci/run.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,7 @@ cargo_test "--release"
5656
case ${TARGET} in
5757
x86*)
5858
export STDSIMD_DISABLE_ASSERT_INSTR=1
59-
case ${TARGET} in
60-
*apple*)
61-
# Travis Apple VMs do not support AVX2
62-
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx"
63-
;;
64-
*)
65-
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx2"
66-
;;
67-
esac
59+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx"
6860
cargo_test "--release"
6961
;;
7062
wasm32-unknown-unknown*)

0 commit comments

Comments
 (0)