raspberrypi-hpl/scripts/make_hpl.sh
Arif Ali c6a6912094 Initial commit
Added initial scripts and configs to get HPL compiled on
raspberry pi4 and get reasonable performance
2020-06-10 11:53:11 +00:00

19 lines
442 B
Bash
Executable File

#!/bin/bash
. CONFIG
version=2.3
package=hpl
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.rpi4-mpich .
make arch=rpi4-mpich -j 3 cleab_arch
make arch=rpi4-mpich -j 3 install