Skip to content

Commit

Permalink
Make work across arm64 and x86_64.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed May 3, 2024
1 parent 4d1bf4a commit 4fa5288
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion benchmarks/disk-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ if [ ! -f $IOZONE_INSTALL_PATH/$IOZONE_VERSION/src/current/iozone ]; then
printf "Installing iozone...\n"
curl "http://www.iozone.org/src/current/$IOZONE_VERSION.tar" | tar -x
cd $IOZONE_VERSION/src/current
make --quiet linux-arm
if [[ $(uname -m) == 'arm64' ]]; then
make --quiet linux-arm
else
make --quiet linux-AMD64
fi
printf "Install complete!\n\n"
else
cd $IOZONE_VERSION/src/current
Expand Down

0 comments on commit 4fa5288

Please sign in to comment.