mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
setup-udp-bookworm.sh: print some software versions etc
This commit is contained in:
parent
6870a9e9c4
commit
e598907095
1 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ source "$HOME/.cargo/env"
|
||||||
cargo build --profile "release-debug" -p aquatic_udp
|
cargo build --profile "release-debug" -p aquatic_udp
|
||||||
cargo build --profile "release-debug" -p aquatic_udp_load_test
|
cargo build --profile "release-debug" -p aquatic_udp_load_test
|
||||||
cargo build --profile "release-debug" -p aquatic_bencher --features udp
|
cargo build --profile "release-debug" -p aquatic_bencher --features udp
|
||||||
|
git log --oneline | head -n 1
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
mkdir -p projects
|
mkdir -p projects
|
||||||
|
|
@ -30,6 +31,7 @@ sed -i "s/^OPTS_production=-O3/OPTS_production=-O3 -march=native -mtune=native/g
|
||||||
sed -i "s/if \(numwant > 200\) numwant = 200/if (numwant > 50) numwant = 50/g" ot_udp.c
|
sed -i "s/if \(numwant > 200\) numwant = 200/if (numwant > 50) numwant = 50/g" ot_udp.c
|
||||||
make
|
make
|
||||||
sudo cp ./opentracker /usr/local/bin/
|
sudo cp ./opentracker /usr/local/bin/
|
||||||
|
git log --oneline | head -n 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Install chihaya
|
# Install chihaya
|
||||||
|
|
@ -37,6 +39,12 @@ git clone https://github.com/chihaya/chihaya.git
|
||||||
cd chihaya
|
cd chihaya
|
||||||
go build ./cmd/chihaya
|
go build ./cmd/chihaya
|
||||||
sudo cp ./chihaya /usr/local/bin/
|
sudo cp ./chihaya /usr/local/bin/
|
||||||
|
git log --oneline | head -n 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
rustc --version
|
||||||
|
gcc --version
|
||||||
|
go version
|
||||||
|
lscpu
|
||||||
|
|
||||||
echo "Finished. Reboot before running aquatic_bencher"
|
echo "Finished. Reboot before running aquatic_bencher"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue