From: Timo Heister Date: Sat, 8 Apr 2017 22:56:23 +0000 (-0400) Subject: add arpack X-Git-Tag: v0.8.5~22^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F22%2Fhead;p=candi.git add arpack (disabled by default) --- diff --git a/candi.cfg b/candi.cfg index cbfeaeb..3ee23a2 100644 --- 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 index 0000000..ea1bf67 --- /dev/null +++ b/deal.II-toolchain/packages/arpack-ng.package @@ -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 +}