From fa8446fd448b2b2241ea2e623a6e9ed3f8e5995b Mon Sep 17 00:00:00 2001 From: chenshaoheng Date: Mon, 16 Oct 2023 09:36:22 +0000 Subject: [PATCH] add package/blas/3.8.0/install.sh. Support compiling dynamic libraries!! Signed-off-by: chenshaoheng --- package/blas/3.8.0/install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/blas/3.8.0/install.sh diff --git a/package/blas/3.8.0/install.sh b/package/blas/3.8.0/install.sh new file mode 100644 index 0000000..be33666 --- /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 -- Gitee