From 72da06b8b462113901aef44e9f69d81b91fe7ae3 Mon Sep 17 00:00:00 2001
From: Timo Heister <timo.heister@gmail.com>
Date: Fri, 2 Jun 2017 17:39:23 +0200
Subject: [PATCH] enable PARPACK support

PARPACK support is disabled inside deal.II by default, but our version
is recent enough.
---
 deal.II-toolchain/packages/dealii.package | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/deal.II-toolchain/packages/dealii.package b/deal.II-toolchain/packages/dealii.package
index 1697db2..d117a6a 100644
--- a/deal.II-toolchain/packages/dealii.package
+++ b/deal.II-toolchain/packages/dealii.package
@@ -37,9 +37,13 @@ ${DEAL_CONFOPTS} \
 # arpack
 if [ ! -z "${ARPACK_DIR}" ]; then
     cecho ${INFO} "deal.II: configuration with ARPACK"
+    # We use a recent enough version of arpack, so PARPACK can be enabled
+    # even though it is disabled by default, see 
+    # https://github.com/dealii/dealii/blob/master/cmake/modules/FindARPACK.cmake
     CONFOPTS="\
         ${CONFOPTS} \
         -D DEAL_II_WITH_ARPACK:BOOL=ON \
+        -D DEAL_II_ARPACK_WITH_PARPACK=ON \
         -D ARPACK_DIR=${ARPACK_DIR}"
 fi
 
-- 
2.39.5