Skip to content
Snippets Groups Projects
Commit 81b78274 authored by Matthias Volk's avatar Matthias Volk
Browse files

Start by cloning all repos such that the password is only needed in the beginning

parent 49cd8159
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,35 @@ TBB_PREFIX=$(tr ':' '\n' <<< "$LD_LIBRARY_PATH" | grep $TBBROOT | tr '\n' ';') ...@@ -47,8 +47,35 @@ TBB_PREFIX=$(tr ':' '\n' <<< "$LD_LIBRARY_PATH" | grep $TBBROOT | tr '\n' ';')
TBB_PREFIX="$TBB_PREFIX$TBBROOT" # we need no ; separator here because the tr command already added a trailing semicolon TBB_PREFIX="$TBB_PREFIX$TBBROOT" # we need no ; separator here because the tr command already added a trailing semicolon
echo "# TBB Prefix: $TBB_PREFIX" echo "# TBB Prefix: $TBB_PREFIX"
# Z3
echo "# Building Z3." # Cloning Carl
echo "# Cloning Carl."
cd $DIR
if [ ! -d carl ]; then
# Use correct git repo
if [ -z "$USER" ]; then
git clone https://github.com/smtrat/carl.git -b master14
else
git clone https://$USER@srv-i2.informatik.rwth-aachen.de/scm/git/carl.git -b master14
fi
fi
# Cloning Storm
echo "# Cloning Storm."
cd $DIR
if [ ! -d storm ]; then
# Use correct git repo
if [ -z "$USER" ]; then
git clone https://github.com/moves-rwth/storm.git -b $BRANCH
else
git clone https://$USER@srv-i2.informatik.rwth-aachen.de/scm/git/storm.git -b $BRANCH
fi
fi
# Cloning and building Z3
echo "# Cloning Z3."
cd $DIR cd $DIR
if [ ! -d z3_src ]; then if [ ! -d z3_src ]; then
git clone https://github.com/Z3Prover/z3.git z3_src git clone https://github.com/Z3Prover/z3.git z3_src
...@@ -58,6 +85,7 @@ if [ ! -d z3_src ]; then ...@@ -58,6 +85,7 @@ if [ ! -d z3_src ]; then
echo "# Using Z3 tag $latestTag" echo "# Using Z3 tag $latestTag"
git checkout $latestTag git checkout $latestTag
fi fi
echo "# Building Z3."
cd $DIR cd $DIR
if [ ! -d z3 ]; then if [ ! -d z3 ]; then
cd z3_src cd z3_src
...@@ -71,16 +99,7 @@ echo "# Building Z3 finished." ...@@ -71,16 +99,7 @@ echo "# Building Z3 finished."
# Carl # Carl
echo "# Building Carl." echo "# Building Carl."
cd $DIR cd $DIR/carl
if [ ! -d carl ]; then
# Use correct git repo
if [ -z "$USER" ]; then
git clone https://github.com/smtrat/carl.git -b master14
else
git clone https://$USER@srv-i2.informatik.rwth-aachen.de/scm/git/carl.git -b master14
fi
fi
cd carl
mkdir -p build mkdir -p build
cd build cd build
echo "$BOOST_ROOT" echo "$BOOST_ROOT"
...@@ -95,17 +114,8 @@ echo "# Building Carl finished." ...@@ -95,17 +114,8 @@ echo "# Building Carl finished."
# Storm # Storm
cd $DIR
echo "# Building Storm." echo "# Building Storm."
if [ ! -d storm ]; then cd $DIR/storm
# Use correct git repo
if [ -z "$USER" ]; then
git clone https://github.com/moves-rwth/storm.git -b $BRANCH
else
git clone https://$USER@srv-i2.informatik.rwth-aachen.de/scm/git/storm.git -b $BRANCH
fi
fi
cd storm
mkdir -p build mkdir -p build
cd build cd build
if [ ! -f CMakeCache.txt ]; then if [ ! -f CMakeCache.txt ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment