#PACKAGES="${PACKAGES} once:numdiff"
# These packages determine the active components of deal.II:
+#PACKAGES="${PACKAGES} once:adolc"
#PACKAGES="${PACKAGES} once:arpack-ng"
#PACKAGES="${PACKAGES} once:assimp"
#PACKAGES="${PACKAGES} once:nanoflann"
--- /dev/null
+# use development version?
+#CANDI_ADOLC_FROM_GIT=1
+
+if [ -n "$CANDI_ADOLC_FROM_GIT" ]; then
+ # download git repository
+ VERSION=master
+ EXTRACTSTO=ADOL-C-master
+
+ NAME=adol-c.git
+ PACKING=git
+ SOURCE=https://gitlab.com/adol-c/
+
+else
+ # download release tarball
+
+ VERSION=2.6.3
+ NAME=ADOL-C-${VERSION}
+ EXTRACTSTO=ADOL-C-${VERSION}
+ SOURCE=https://www.coin-or.org/download/source/ADOL-C/
+ CHECKSUM=f78f67f70d5874830a1ad1c0f54e54f7
+ PACKING=.tgz
+
+ VERSION=2.6.4-rc1
+ NAME=ADOL-C-${VERSION}
+ EXTRACTSTO=ADOL-C-${VERSION}
+ SOURCE=https://github.com/tjhei/adol-c/releases/download/v2.6.4-rc1/
+ CHECKSUM=cca27e9579c0c9ab4dd0c1cfa1c44433
+ PACKING=.tar.gz
+fi
+unset CANDI_ADOLC_FROM_GIT
+
+
+BUILDCHAIN=autotools
+
+BUILDDIR=${BUILD_PATH}/adolc-${VERSION}
+INSTALL_PATH=${INSTALL_PATH}/adolc-${VERSION}
+
+CONFOPTS=""
+
+package_specific_register () {
+ export ADOLC_DIR=${INSTALL_PATH}
+}
+
+package_specific_conf () {
+ # Generate configuration file
+ CONFIG_FILE=${CONFIGURATION_PATH}/adolc-${VERSION}
+ rm -f $CONFIG_FILE
+ echo "
+export ADOLC_DIR=${INSTALL_PATH}
+" >> $CONFIG_FILE
+}