mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-22 09:21:58 +00:00
Update TODO
This commit is contained in:
1 parent
29e3d695a0
commit
b3caa7ab7b
2 files changed
+2
-14
No files matched your search
@@ -1,11 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 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"
|
||||
. scripts/env-native-cpu-wihout-avx-512
|
||||
|
||||
cargo run --release --bin aquatic_http -- $@
|
||||
@@ -1,11 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 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"
|
||||
. ./scripts/env-native-cpu-without-avx-512
|
||||
|
||||
cargo run --release --bin aquatic_ws -- $@
|
||||
Reference in new issue
Block a user