Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
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
Service Desk
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
dune-fem
dune-fem-dg
Commits
2305622b
Commit
2305622b
authored
9 years ago
by
Stefan Girke
Browse files
Options
Downloads
Patches
Plain Diff
update build script
parent
738fc60a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/build-dune-fem-dg.sh
+13
-7
13 additions, 7 deletions
scripts/build-dune-fem-dg.sh
with
13 additions
and
7 deletions
scripts/build-dune-fem-dg.sh
+
13
−
7
View file @
2305622b
...
...
@@ -50,7 +50,7 @@ WITH_ZOLTAN=
WITH_SIONLIB
=
# dune modules needed to build dune-fem-dg
DUNEMODULES
=
"dune-common dune-geometry dune-grid dune-istl dune-alugrid dune-fem-dg"
DUNEMODULES
=
"dune-common dune-geometry dune-grid dune-istl dune-alugrid
dune-fem
dune-fem-dg"
# build flags for all DUNE modules
# change according to your needs
...
...
@@ -75,14 +75,22 @@ if [ "$DUNEVERSION" != "" ] ; then
DUNEBRANCH
=
"-b releases/
$DUNEVERSION
"
fi
FEMDGBRANCH
=
"-b papers/main"
ALUGRIDBRANCH
=
"-b releases/2.4"
FEMBRANCH
=
"-b releases/2.4"
FEMDGBRANCH
=
"-b releases/2.4"
# get all dune modules necessary
for
MOD
in
$DUNEMODULES
;
do
if
[
"
$MOD
"
==
"dune-fem-dg"
]
;
then
# use the special branch papers/main for dune-fem-dg
if
[
"
$MOD
"
==
"dune-alugrid"
]
;
then
# use the special branch for dune-alugrid
git clone
$DUNEALUGRIDBRANCH
https://gitlab.dune-project.org/extensions/dune-alugrid.git
elif
[
"
$MOD
"
==
"dune-fem"
]
;
then
# use the special branch for dune-fem
git clone
$FEMBRANCH
https://gitlab.dune-project.org/dune-fem/dune-fem.git
elif
[
"
$MOD
"
==
"dune-fem-dg"
]
;
then
# use the special branch for dune-fem-dg
git clone
$FEMDGBRANCH
http://users.dune-project.org/repositories/projects/dune-fem-dg.git
else
git clone
$DUNEBRANCH
http://git.dune-project.org/re
positories
/
$MOD
git clone
$DUNEBRANCH
http
s
://git
lab
.dune-project.org/
co
re/
$MOD
.git
fi
done
...
...
@@ -94,8 +102,6 @@ fi
# build all DUNE modules in the correct order
./dune-common/bin/dunecontrol
--opts
=
config.opts all
cd
dune-fem-dg
TARGET
=
check
cd
build-cmake
TARGET
=
test
make
$MAKE_FLAGS
$TARGET
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