Commit 4e8a7a29 authored by Ron Rahaman's avatar Ron Rahaman
Browse files

Squashed '3rd_party/nek5000/' changes from 221fa825..002ed028

002ed028 do not use tarball if source dir exists for parRSB + gslib

git-subtree-dir: 3rd_party/nek5000
git-subtree-split: 002ed028
parent dc5b0d6c
......@@ -4,7 +4,9 @@ set -e
VER=1.0.7
if [ "$1" == "clean" ]; then
rm -rf gslib lib include 2>/dev/null
rm -rf lib include 2>/dev/null
find . -name '*.o' -exec rm {} +
find . -name '*.a' -exec rm {} +
exit 0
fi
......@@ -12,13 +14,12 @@ if [ -f ./lib/libgs.a ]; then
exit 0
fi
if [ ! -f v$VER.tar.gz ]; then
if [ ! -d ./gslib ]; then
wget --no-check-certificate -O v$VER.tar.gz http://github.com/gslib/gslib/archive/v$VER.tar.gz
mkdir gslib
tar -zxvf v$VER.tar.gz -C ./gslib --strip-components=1
fi
rm -rf gslib 2>/dev/null
mkdir gslib
tar -zxvf v$VER.tar.gz -C ./gslib --strip-components=1
cd gslib
set -x
make -j4 $GSLIB_OPT
......
......@@ -12,16 +12,12 @@ if [ -f ./lib/libparRSB.a ]; then
exit 0
fi
if [ ! -f v$VER.tar.gz ]; then
if [ ! -d ./parRSB ]; then
wget --no-check-certificate -O v$VER.tar.gz https://github.com/Nek5000/parRSB/archive/v$VER.tar.gz
mkdir parRSB
tar -zxvf v$VER.tar.gz -C ./parRSB --strip-components=1
fi
rm -rf parRSB 2>/dev/null
mkdir parRSB
tar -zxvf v$VER.tar.gz -C ./parRSB --strip-components=1
#git clone https://github.com/Nek5000/parRSB.git parRSB
cd parRSB
set -x
make -j4 $PARRSB_OPT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment