raspberrypi-hpl/scripts/make_hpl.sh
Arif Ali c525a6deb7
Update all configs and scripts
* Add Make files to compile from distro mpich and openblas
* Add CONFIG.rpi5 to add extra tuning for it
* Fine tune make_hpl.sh so that it's more dynamic
2024-01-25 07:35:37 +00:00

20 lines
455 B
Bash
Executable File

#!/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