From: Fabian Castelli <50630942+gfcas@users.noreply.github.com> Date: Thu, 27 May 2021 08:47:25 +0000 (+0200) Subject: Add GSL 2.6 (#178) X-Git-Tag: v9.3.0-r3~20 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af49fc46e435a6c069d1f59c354fe6d467a888b2;p=candi.git Add GSL 2.6 (#178) * Add GSL * Add to package list in cfg file * Remove multiple newlines * Fix typo * Update from koecher --- diff --git a/candi.cfg b/candi.cfg index 449b080..fd67358 100644 --- a/candi.cfg +++ b/candi.cfg @@ -59,6 +59,7 @@ PACKAGES="load:dealii-prepare" #PACKAGES="${PACKAGES} once:adolc" #PACKAGES="${PACKAGES} once:arpack-ng" #PACKAGES="${PACKAGES} once:assimp" +#PACKAGES="${PACKAGES} once:gsl" PACKAGES="${PACKAGES} once:opencascade" PACKAGES="${PACKAGES} once:parmetis" #PACKAGES="${PACKAGES} once:sundials" diff --git a/deal.II-toolchain/packages/gsl.package b/deal.II-toolchain/packages/gsl.package new file mode 100644 index 0000000..3beda01 --- /dev/null +++ b/deal.II-toolchain/packages/gsl.package @@ -0,0 +1,34 @@ +################################################################################ +## GSL ## +################################################################################ + +VERSION=release-2-6 +NAME=gsl +EXTRACTSTO=${NAME}-${VERSION} +SOURCE=https://git.savannah.gnu.org/git/ +PACKING=git +BUILDCHAIN=autotools + +BUILDDIR=${BUILD_PATH}/${NAME}-${VERSION} +INSTALL_PATH=${INSTALL_PATH}/${NAME}-${VERSION} + +CONFOPTS="--enable-maintainer-mode" + +package_specific_setup () { + # We need to do a specific bootstrap before running the autotools build chain + cd ${UNPACK_PATH}/${EXTRACTSTO} + ./autogen.sh +} + +package_specific_register () { + export GSL_DIR=${INSTALL_PATH} +} + +package_specific_conf () { + # Generate configuration file + CONFIG_FILE=${CONFIGURATION_PATH}/${NAME} + rm -f $CONFIG_FILE + echo " +export GSL_DIR=${INSTALL_PATH} +" >> $CONFIG_FILE +}