Skip to content
Snippets Groups Projects
Commit 43af9488 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Updating OpenBLAS

parent 8afed975
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@ if [ -d "$1/OPENBLAS" ]; then
exit 0
fi
rm -rf OpenBLAS-0.2.20.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/OpenBLAS-0.2.20.tar.gz
tar -xf OpenBLAS-0.2.20.tar.gz
cd OpenBLAS-0.2.20
rm -rf OpenBLAS-0.3.10.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/OpenBLAS-0.3.10.tar.gz
tar -xf OpenBLAS-0.3.10.tar.gz
cd OpenBLAS-0.3.10
#wget http://ppmcore.mpi-cbg.de/upload/openblas.diff
#patch -p1 < openblas.diff
......@@ -26,8 +26,8 @@ make install PREFIX=$1/OPENBLAS
if [ ! "$(ls -A $1/OPENBLAS)" ]; then
rm -rf $1/OPENBLAS
else
rm -rf OpenBLAS-0.2.20
echo 1 > $1/OPENBLAS/version
rm -rf OpenBLAS-0.3.10
echo 2 > $1/OPENBLAS/version
exit 0
fi
......@@ -207,7 +207,7 @@ function remove_old()
if [ -d $1/OPENBLAS ]; then
version=$(cat $1/OPENBLAS/version)
if [ x"$version" != x"1" ]; then
if [ x"$version" != x"2" ]; then
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m OPENBLAS has been updated, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment