Skip to content
Snippets Groups Projects
Commit 46a514e5 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

updated the dune install script

parent 94bb365d
No related branches found
No related tags found
1 merge request!31updated the dune install script
#!/usr/bin/env bash
if [ $# -lt 1 ]; then
echo "usage: $0 DOWNLOAD_DIR"
echo "usage: $0 DUNE_BASE_DIR"
exit 1
fi
DOWNLOAD_DIR="$1"
DUNE_BASE_DIR="$1"
mkdir -p ${DOWNLOAD_DIR}/dune
cd ${DOWNLOAD_DIR}/dune
mkdir -p ${DUNE_BASE_DIR}
cd ${DUNE_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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment