-if [ $YARD_IMG_ARCH = "arm64" ]; then
- wget https://github.com/kdlucas/byte-unixbench/archive/master.zip
- unzip master.zip && rm master.zip
- mkdir /opt/tempT
- mv byte-unixbench-master/UnixBench /opt/tempT
- sed -i -e 's/OPTON += -march=native -mtune=native/OPTON += -march=armv8-a -mtune=generic/g' \
- -e 's/OPTON += -march=native/OPTON += -march=armv8-a/g' /opt/tempT/UnixBench/Makefile
-else
- git clone https://github.com/kdlucas/byte-unixbench.git /opt/tempT
-fi
-make --directory /opt/tempT/UnixBench/