1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-23 21:54:45 +02:00

Actually use simd/avx optimizations in bytecount crate.

Also update compile script.
This commit is contained in:
Andrew Gallant
2016-11-05 22:44:33 -04:00
parent 4368913d8f
commit 5bd0edbbe1
3 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
export RUSTFLAGS="-C target-feature=+ssse3"
# export RUSTFLAGS="-C target-cpu=native"
cargo build --release --features simd-accel
# export RUSTFLAGS="-C target-feature=+ssse3"
export RUSTFLAGS="-C target-cpu=native"
cargo build --release --features 'simd-accel avx-accel'