]> https://gitweb.dealii.org/ - candi.git/commitdiff
add arpack 22/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 8 Apr 2017 22:56:23 +0000 (18:56 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sat, 8 Apr 2017 22:57:09 +0000 (18:57 -0400)
(disabled by default)

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

index cbfeaeb9da2c1f0dc70501c726c61a34186bc710..3ee23a240783913274f602f7c0b466d05662c476 100644 (file)
--- a/candi.cfg
+++ b/candi.cfg
@@ -31,6 +31,7 @@ DEAL_CONFOPTS=" \
 "
 
 PACKAGES="load:dealii-prepare"
+#PACKAGES="${PACKAGES} once:arpack-ng"
 PACKAGES="${PACKAGES} once:opencascade"
 PACKAGES="${PACKAGES} once:parmetis"
 #PACKAGES="${PACKAGES} once:superlu_dist"
diff --git a/deal.II-toolchain/packages/arpack-ng.package b/deal.II-toolchain/packages/arpack-ng.package
new file mode 100644 (file)
index 0000000..ea1bf67
--- /dev/null
@@ -0,0 +1,26 @@
+VERSION=master
+EXTRACTSTO=arpack-ng
+NAME=arpack-ng.git
+PACKING=git
+SOURCE=https://github.com/opencollab/
+
+BUILDCHAIN=cmake
+INSTALL_PATH=${INSTALL_PATH}/arpack-ng-${VERSION}
+
+CONFOPTS="-D CMAKE_INSTALL_PREFIX=${INSTALL_PATH} \
+ -D EXAMPLES=ON \
+ -D MPI=ON \
+ -D BUILD_SHARED_LIBS=ON"
+
+package_specific_register () {
+    export ARPACK_DIR=${INSTALL_PATH}
+}
+
+package_specific_conf () {
+    # Generate configuration file
+    CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
+    rm -f $CONFIG_FILE
+    echo "
+export ARPACK_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.