Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
46a514e5
Commit
46a514e5
authored
Mar 28, 2019
by
Praetorius, Simon
Browse files
updated the dune install script
parent
94bb365d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/install_all_dune_modules.sh
View file @
46a514e5
#!/usr/bin/env bash
if
[
$#
-lt
1
]
;
then
echo
"usage:
$0
D
OWNLOAD
_DIR"
echo
"usage:
$0
D
UNE_BASE
_DIR"
exit
1
fi
D
OWNLOAD
_DIR
=
"
$1
"
D
UNE_BASE
_DIR
=
"
$1
"
mkdir
-p
${
D
OWNLOAD_DIR
}
/dune
cd
${
D
OWNLOAD_DIR
}
/dune
mkdir
-p
${
D
UNE_BASE_DIR
}
cd
${
D
UNE_BASE_DIR
}
CORE_MODULES
=(
"dune-common"
"dune-geometry"
"dune-grid"
"dune-istl"
"dune-localfunctions"
)
STAGING_MODULES
=(
"dune-functions"
"dune-typetree"
"dune-uggrid"
)
...
...
@@ -29,6 +29,7 @@ done
echo
""
echo
"=============================================================="
echo
"To build all dune modules run the commands... "
echo
" DUNE_CONTROL_PATH=
${
DOWNLOAD_DIR
}
/dune dunecontrol configure"
echo
" DUNE_CONTROL_PATH=
${
DOWNLOAD_DIR
}
/dune dunecontrol make -j4 "
echo
" export PATH=
${
DUNE_BASE_DIR
}
/dune-common/bin:
\$
{PATH}"
echo
" DUNE_CONTROL_PATH=
${
DUNE_BASE_DIR
}
dunecontrol configure"
echo
" DUNE_CONTROL_PATH=
${
DUNE_BASE_DIR
}
dunecontrol make -j4 "
echo
"=============================================================="
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment