# Install the following deal.II version:
DEAL_II_VERSION=v9.2.0
-# Option {ON|OFF}: Would you like to build stable version of deal.II?
-# If STABLE_BUILD=OFF, then the development version of deal.II will be
-# installed.
-STABLE_BUILD=ON
-
-if [ ${STABLE_BUILD} = OFF ]; then
- DEAL_II_VERSION=master
-fi
-
#########################################################################
# If you want to use Trilinos, decide if you want v12.x.x (AUTO) or v11.x.x
#########################################################################
-# If you have commits from the deal.II master to cherry-pick in STABLE_BUILD
+# If you have commits from the deal.II master to cherry-pick in stable version
# bugfix for TrilinosWrapper::SparseMatrix ::add(factor, SparseMatrix)
#DEAL_CHERRYPICKCOMMITS="8bcaf55df6754238b2e4e41bf6a5dd276a97bdd2 ${DEAL_CHERRYPICKCOMMITS}"
quit_if_fail "candi: git clone ${SOURCE}${NAME} ${EXTRACTSTO} failed"
else
cd ${EXTRACTSTO}
- git checkout master --force
- quit_if_fail "candi: git checkout master --force failed"
+ git checkout ${VERSION} --force
+ quit_if_fail "candi: git checkout ${VERSION} --force failed"
git pull
quit_if_fail "candi: git pull failed"
cd ..
fi
-
- if [ ${STABLE_BUILD} = ON ]; then
- cd ${EXTRACTSTO}
- git checkout ${VERSION} --force
- quit_if_fail "candi: git checkout ${VERSION} --force failed"
- cd ..
- fi
-
elif [ ${PACKING} = "hg" ]; then
cd ${UNPACK_PATH}
# Suitably clone or update hg repositories
default CONFIGURATION_PATH=${INSTALL_PATH}/configuration
default CLEAN_BUILD=OFF
-default STABLE_BUILD=ON
default DEVELOPER_MODE=OFF
default PACKAGES_OFF=""
done
echo
-
-echo "-------------------------------------------------------------------------------"
-if [ ${STABLE_BUILD} = ON ]; then
- cecho ${INFO} "Building stable releases of ${PROJECT} packages."
-else
- cecho ${WARN} "Building development versions of ${PROJECT} packages."
-fi
-echo
-
# if the program 'module' is available, output the currently loaded modulefiles
if builtin command -v module > /dev/null; then
echo "-------------------------------------------------------------------------------"
# Fetch information pertinent to the package
source ${PROJECT}/packages/${PACKAGE}.package
- # Turn to a stable version of the package if that's what the user
- # wants and it exists
- if [ ${STABLE_BUILD} = ON ] && [ -e ${PROJECT}/packages/${PACKAGE}-stable.package ]; then
- source ${PROJECT}/packages/${PACKAGE}-stable.package
- fi
-
# Ensure that the package file is sanely constructed
if [ ! "${BUILDCHAIN}" ]; then
cecho ${BAD} "${PACKAGE}.package is not properly formed. Please check that all necessary variables are defined."
+++ /dev/null
-VERSION=${DEAL_II_VERSION}
-NAME=dealii.git
-EXTRACTSTO=deal.II-${VERSION}
-SOURCE=https://github.com/dealii/
-PACKING=git
-BUILDCHAIN=cmake
-
-#########################################################################
-BUILDDIR=${BUILD_PATH}/deal.II-${VERSION}
-INSTALL_PATH=${ORIG_INSTALL_PATH}/deal.II-${VERSION}