From edc5bd96fe63ddf552093ed466bf824217719079 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 8 Apr 2017 18:56:23 -0400 Subject: [PATCH] add arpack (disabled by default) --- candi.cfg | 1 + deal.II-toolchain/packages/arpack-ng.package | 26 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 deal.II-toolchain/packages/arpack-ng.package 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 +} -- 2.39.5