From 8effcb8d91b1bfdd15128a89fc14b4fe08a89b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Mon, 4 May 2020 17:10:39 +0200 Subject: [PATCH] setup-bench-on-debian.sh: add rustc build flag for aquatic --- scripts/setup-bench-on-debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/setup-bench-on-debian.sh b/scripts/setup-bench-on-debian.sh index 2d0b18b..658f9cc 100755 --- a/scripts/setup-bench-on-debian.sh +++ b/scripts/setup-bench-on-debian.sh @@ -52,6 +52,7 @@ cd .. git clone https://github.com/greatest-ape/aquatic.git cd aquatic +export RUSTFLAGS="-C target-cpu=native" cargo build --release --bin aquatic cargo build --release --bin aquatic_load_test cd .. @@ -61,4 +62,4 @@ cd .. git clone https://github.com/brendangregg/FlameGraph cd FlameGraph echo 'export PATH="$HOME/projects/FlameGraph:$PATH"' >> ~/.profile -source ~/.profile \ No newline at end of file +source ~/.profile