Skip to content
Snippets Groups Projects
Commit e10a2a5e authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Set patch when available

parent c065c799
No related branches found
No related tags found
1 merge request!49Resolve "Finish installation and usage instruction on the documentation"
......@@ -18,7 +18,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $SCRIPT_DIR/util
SOURCEDIR=${SCRIPT_DIR}/..
BUILDDIR=${PWD}/build-cmake
export BUILDDIR=${PWD}/build-cmake
# options file may be passed as argument
[ ! -z "$1" ] && DUNE_OPTIONS_FILE="$1"
......
......@@ -63,13 +63,15 @@ SETUP_dune_testtools_REPO="https://gitlab.dune-project.org/quality/dune-testtool
cat ${SCRIPT_DIR}/dune-common.patch >> "${PWD}/dune-common.patch"
SETUP_dune_common_PATCHES="${SCRIPT_DIR}/dune-common.patch"
SETUP_dune_logging_PATCHES="${SCRIPT_DIR}/dune-logging.patch"
if [[ "$OS_TARGET" == "osx" ]]; then
curl https://gist.githubusercontent.com/lkeegan/059984b71f8aeb0bbc062e85ad7ee377/raw/e9c7af42c47fe765547e60833a72b5ff1e78123c/cmake-patch.txt >> "${PWD}/cmake.patch"
echo '' >> "${PWD}/cmake.patch"
SETUP_dune_common_PATCHES+=" ${PWD}/cmake.patch"
fi
SETUP_dune_common_PATCHES="${SCRIPT_DIR}/dune-common.patch ${PWD}/cmake.patch"
SETUP_dune_logging_PATCHES="${SCRIPT_DIR}/dune-logging.patch"
# hardcoded **ordered** dependencies
MODULES="common logging uggrid geometry grid localfunctions istl typetree functions pdelab multidomaingrid"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment