]> https://gitweb.dealii.org/ - candi.git/commitdiff
Add GSL 2.6 (#178)
authorFabian Castelli <50630942+gfcas@users.noreply.github.com>
Thu, 27 May 2021 08:47:25 +0000 (10:47 +0200)
committerGitHub <noreply@github.com>
Thu, 27 May 2021 08:47:25 +0000 (10:47 +0200)
* Add GSL

* Add to package list in cfg file

* Remove multiple newlines

* Fix typo

* Update from koecher

candi.cfg
deal.II-toolchain/packages/gsl.package [new file with mode: 0644]

index 449b080e8509aef2cf5bc754bb3f72896eb9dcc3..fd67358fe15fb27c52a4df49e8b931052d757ffc 100644 (file)
--- 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 (file)
index 0000000..3beda01
--- /dev/null
@@ -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
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.