From f2d697011bc39c764705297f03135674414b766c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 11 Aug 2020 23:04:28 +0200 Subject: [PATCH] Don't use target-cpu native etc in scripts/test.sh --- scripts/test.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 4a68497..3e695db 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,17 +1,7 @@ #!/bin/sh -# Test in release mode to avoid quickcheck tests taking forever - -# Compile with target-cpu=native but without AVX512 features, since they -# decrease performance. - -DISABLE_AVX512=$(rustc --print target-features | grep " avx512" | - awk '{print $1}' | sed 's/^/-C target-feature=-/' | xargs) - -export RUSTFLAGS="-C target-cpu=native $DISABLE_AVX512" - # Not chosen for exact values, only to be larger than defaults export QUICKCHECK_TESTS=2000 export QUICKCHECK_GENERATOR_SIZE=1000 -cargo test --all +cargo test