mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-10-03 12:06:37 +00:00
pull fio/iperf3 binaries from github releases instead of repo
This commit is contained in:
+7
-4
@@ -36,9 +36,12 @@ source /hbb_exe/activate
|
||||
|
||||
# download and compile fio
|
||||
cd ~
|
||||
curl -L https://github.com/axboe/fio/archive/fio-3.39.tar.gz -o "fio.tar.gz"
|
||||
curl -L https://github.com/axboe/fio/archive/fio-3.42.tar.gz -o "fio.tar.gz"
|
||||
tar xf fio.tar.gz
|
||||
cd fio-fio*
|
||||
cd fio-fio-*
|
||||
# fio >= 3.42 includes both linux/prctl.h and sys/prctl.h in backend.c, which
|
||||
# conflicts under musl; sys/prctl.h alone is sufficient (harmless on glibc too)
|
||||
sed -i '/#include <linux\/prctl.h>/d' backend.c
|
||||
./configure --disable-native
|
||||
make
|
||||
|
||||
@@ -49,9 +52,9 @@ cp fio "/io/fio_$ARCH"
|
||||
|
||||
# download and compile iperf
|
||||
cd ~
|
||||
curl -L https://github.com/esnet/iperf/archive/3.18.tar.gz -o "iperf.tar.gz"
|
||||
curl -L https://github.com/esnet/iperf/archive/3.21.tar.gz -o "iperf.tar.gz"
|
||||
tar xf iperf.tar.gz
|
||||
cd iperf*
|
||||
cd iperf-*
|
||||
./configure --disable-shared --disable-profiling
|
||||
make
|
||||
|
||||
|
||||
Reference in New Issue
Block a user