Package: dolfin / 2018.1.0.post1-16

conditional-parmetis-in-cholmod.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: dolfin/cmake/modules/FindCHOLMOD.cmake
===================================================================
--- dolfin.orig/cmake/modules/FindCHOLMOD.cmake
+++ dolfin/cmake/modules/FindCHOLMOD.cmake
@@ -42,7 +42,9 @@ set(CMAKE_LIBRARY_PATH ${LAPACK_DIR}/lib
 find_package(AMD QUIET)
 find_package(BLAS QUIET)
 find_package(LAPACK QUIET)
-find_package(ParMETIS 4.0.2 QUIET)
+if (DOLFIN_ENABLE_PARMETIS)
+  find_package(ParMETIS 4.0.2 QUIET)
+endif()
 
 # FIXME: Should we have separate FindXX modules for CAMD, COLAMD, and CCOLAMD?
 # FIXME: find_package(CAMD)