Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux-course
Commits
540d0d7d
Commit
540d0d7d
authored
6 years ago
by
Melanie Lipp
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/installscript' into 'master'
Install Script fix See merge request
!53
parents
e2bf9f02
3d578106
No related branches found
No related tags found
1 merge request
!53
Install Script fix
Pipeline
#450
passed
6 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/install.sh
+18
-20
18 additions, 20 deletions
scripts/install.sh
with
18 additions
and
20 deletions
scripts/install.sh
100755 → 100644
+
18
−
20
View file @
540d0d7d
...
...
@@ -36,18 +36,16 @@ echo "**************************************************************************
echo
"(0/2) Downloading supplementary files. Make sure to be connected to the internet."
echo
"*********************************************************************************************"
# download the
install.o
pt
s
and the
test scri
pt
# download the
test scri
pt and the
install.o
pt
s
if
[
!
-f
"test_dumux.sh"
]
;
then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/scripts/test_dumux.sh
chmod
+x test_dumux.sh
fi
chmod
+x test_dumux.sh
if
[
!
-f
"cmake.opts"
]
;
then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/cmake.opts
chmod
+x test_dumux.sh
fi
# get the testing script
echo
"*********************************************************************************************"
echo
"(1/2) Cloning repositories. This may take a while. Make sure to be connected to the internet."
echo
"*********************************************************************************************"
...
...
@@ -57,10 +55,10 @@ for MOD in common geometry grid localfunctions istl; do
git clone
-b
releases/
$DUNE_VERSION
https://gitlab.dune-project.org/core/dune-
$MOD
.git
else
echo
"Skip cloning dune-
$MOD
because the folder already exists."
cd
dune-
$MOD
git checkout releases/
$DUNE_VERSION
cd
..
fi
cd
dune-
$MOD
git checkout releases/
$DUNE_VERSION
cd
..
done
# extension modules
...
...
@@ -69,10 +67,10 @@ for MOD in dune-foamgrid dune-alugrid; do
git clone
-b
releases/
$DUNE_VERSION
https://gitlab.dune-project.org/extensions/
$MOD
.git
else
echo
"Skip cloning
$MOD
because the folder already exists."
cd
$MOD
git checkout releases/
$DUNE_VERSION
cd
..
fi
cd
$MOD
git checkout releases/
$DUNE_VERSION
cd
..
done
# dune-subgrid
...
...
@@ -80,30 +78,30 @@ if [ ! -d "dune-subgrid" ]; then
git clone
-b
releases/
$DUNE_VERSION
-1
https://git.imp.fu-berlin.de/agnumpde/dune-subgrid.git
else
echo
"Skip cloning dune-subgrid because the folder already exists."
cd
dune-subgrid
git checkout releases/
$DUNE_VERSION
-1
cd
..
fi
cd
dune-subgrid
git checkout releases/
$DUNE_VERSION
-1
cd
..
# dumux
if
[
!
-d
"dumux"
]
;
then
git clone
-b
master https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
else
echo
"Skip cloning dumux because the folder already exists."
cd
dumux
git checkout dumux-course-2018
cd
..
fi
cd
dumux
git checkout dumux-course-2018
cd
..
# dumux-course
if
[
!
-d
"dumux-course"
]
;
then
git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
else
echo
"Skip cloning dumux-course because the folder already exists."
cd
dumux-course
git checkout 2018
cd
..
fi
cd
dumux-course
git checkout 2018
cd
..
if
[
$?
-ne
0
]
;
then
echo
"*********************************************************************************************"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment