]> https://gitweb.dealii.org/ - candi.git/commitdiff
add sundials 65/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 2 Feb 2018 20:16:10 +0000 (15:16 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 2 Feb 2018 20:16:43 +0000 (15:16 -0500)
candi.cfg
deal.II-toolchain/packages/sundials.package [new file with mode: 0644]

index 0a6394734c809b89e244a6ae326ce53b37012652..b355613e323188f60b34402248551b6b4c1f245e 100644 (file)
--- a/candi.cfg
+++ b/candi.cfg
@@ -47,6 +47,7 @@ PACKAGES="load:dealii-prepare"
 #PACKAGES="${PACKAGES} once:nanoflann"
 PACKAGES="${PACKAGES} once:opencascade"
 PACKAGES="${PACKAGES} once:parmetis"
+#PACKAGES="${PACKAGES} once:sundials"
 #PACKAGES="${PACKAGES} once:superlu_dist"
 PACKAGES="${PACKAGES} once:hdf5"
 PACKAGES="${PACKAGES} once:p4est"
diff --git a/deal.II-toolchain/packages/sundials.package b/deal.II-toolchain/packages/sundials.package
new file mode 100644 (file)
index 0000000..8884015
--- /dev/null
@@ -0,0 +1,28 @@
+VERSION=3.1.0
+NAME=sundials-${VERSION}
+EXTRACTSTO=sundials-${VERSION}
+SOURCE=https://computation.llnl.gov/projects/sundials/download/
+CHECKSUM=1a84ca41c7f71067e03d519ddbcd9dae
+PACKING=.tar.gz
+BUILDCHAIN=cmake
+
+BUILDDIR=${BUILD_PATH}/sundials-${VERSION}
+INSTALL_PATH=${INSTALL_PATH}/sundials-${VERSION}
+
+CONFOPTS="-D CMAKE_INSTALL_PREFIX=${INSTALL_PATH} \
+ -D MPI_ENABLE=ON \
+ -D BUILD_SHARED_LIBS=ON"
+
+package_specific_register () {
+    export SUNDIALS_DIR=${INSTALL_PATH}
+}
+
+package_specific_conf () {
+    # Generate configuration file
+    CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
+    rm -f $CONFIG_FILE
+    echo "
+export SUNDIALS_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.