raspberrypi-hpl/scripts/make_hpl.sh

20 lines
455 B
Bash
Raw Normal View History

#!/bin/bash
. CONFIG
version=2.3
package=hpl
arch=rpi5-mpich-distro
rm -rf ${package}-${version}
rm -rf ${WORKDIR}/${package}-${version}
wget https://www.netlib.org/benchmark/hpl/${package}-${version}.tar.gz -O ${DOWNLOADS}/${package}-${version}.tar.gz
cd ${WORKDIR}
tar xfz ${DOWNLOADS}/${package}-${version}.tar.gz
cd ${package}-${version}
cp ${SCRIPTSDIR}/../configs/Make.${arch} .
make arch=${arch} -j 3 clean_arch
make arch=${arch} -j 3 install