#########################################################################
+# If you have commits from the deal.II master to cherry-pick in STABLE_BUILD
+
+# bugfix for TrilinosWrapper::SparseMatrix ::add(factor, SparseMatrix)
+DEAL_CHERRYPICKCOMMITS="8bcaf55df6754238b2e4e41bf6a5dd276a97bdd2"
+
+#########################################################################
+
# If you want to change the source code of one or multiple packages
# switch on the developer mode to avoid a package fetch and unpack.
# Note: a previous run of candi with the same settings must be done without
# this mode!
DEVELOPER_MODE=OFF
+
git checkout ${VERSION} --force
quit_if_fail "candi: git checkout ${VERSION} --force failed"
fi
+
+ # git cherry-pick on commits given by ${CHERRYPICKCOMMITS}
+ if [ ${STABLE_BUILD} = true ] && [ ! -z "${CHERRYPICKCOMMITS}" ]; then
+ cecho ${INFO} "candi: git cherry-pick -X theirs ${CHERRYPICKCOMMITS}"
+ cd ${EXTRACTSTO}
+ git cherry-pick -X theirs ${CHERRYPICKCOMMITS}
+ quit_if_fail "candi: git cherry-pick -X theirs ${CHERRYPICKCOMMITS} failed"
+ fi
elif [ ${PACKING} = "hg" ]; then
cd ${UNPACK_PATH}
unset CONFOPTS
unset MAKEOPTS
unset CONFIG_FILE
+ unset CHERRYPICKCOMMITS
TARGETS=('' install)
PROCS=${ORIG_PROCS}
INSTALL_PATH=${ORIG_INSTALL_PATH}
fi
fi
+################################################################################
+# Check if we have commits to be cherry-picked by git
+
+if [ ! -z "${DEAL_CHERRYPICKCOMMITS}" ]; then
+ CHERRYPICKCOMMITS=" \
+ ${DEAL_CHERRYPICKCOMMITS}"
+ cecho ${INFO} "deal.II: git cherry-pick -X theirs ${CHERRYPICKCOMMITS}"
+fi
################################################################################
# Add additional packages, if present