I updated the patch to use the variable provided by the configure script
for the SLEPC and PETSC architecture. This way, my change is more
consistent with the rest of the configure script.

Regards,
Felix
Description: add slepc include path with arch triple
 The file slepcconf.h resides under
 /usr/lib/slepc/linux-gnu-c-opt/include/slepcconf.h but the makefiles
 only refer to the include path /usr/lib/slepc/include.
 .
 This patch adds the include path /usr/lib/slepc/linux-gnu-c-opt/include.
Author: Felix Gruber <fel...@gmx.de>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/common/Make.global_options.in
+++ b/common/Make.global_options.in
@@ -278,6 +278,7 @@
   include-path-petsc-bmake   = $(DEAL_II_PETSC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 endif
 include-path-slepc           = $(DEAL_II_SLEPC_DIR)/include
+include-path-slepc-arch      = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
 include-path-slepc-conf      = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   include-path-slepc-include = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
@@ -314,7 +315,8 @@
 endif
 
 ifeq ($(USE_CONTRIB_SLEPC),yes)
-  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf)
+  INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf) \
+             -I$(include-path-slepc-arch)
 ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
   INCLUDE += -I$(include-path-slepc-include)
 endif

Reply via email to