diff --git a/package/blas/3.8.0/install.sh b/package/blas/3.8.0/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..be33666cda0b0e55e59d3274d0da2d8dfd9b709d --- /dev/null +++ b/package/blas/3.8.0/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -x +set -e +. "${DOWNLOAD_TOOL}" -u http://www.netlib.org/blas/blas-3.8.0.tgz +cd "${JARVIS_TMP}" +rm -rf BLAS-3.8.0 +tar -xzvf "${JARVIS_DOWNLOAD}"/blas-3.8.0.tgz +cd BLAS-3.8.0 +gfortran -c -O3 -fPIC -shared ./*.f +gfortran -O3 -fPIC -shared -o libblas.so ./*.o +mkdir $1/lib +cp libblas.so $1/lib \ No newline at end of file