From 3a261950acd3f6d156eb34b833e5b63116917990 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Tue, 26 Feb 2019 14:46:40 +0000 Subject: gnu: fenics-dolfin: Fix build. * gnu/packages/simulation.scm (fenics-dolfin)[arguments]: Remove SNESTEST mapping, no longer valid after update of PETSc to version 3.10.3. Signed-off-by: Leo Famulari --- gnu/packages/simulation.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3637cc383b..a8d214794e 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -464,6 +464,10 @@ (define-public fenics-dolfin "${DOLFIN_SOURCE_DIR} " "${DOLFIN_SOURCE_DIR}/dolfin " "${DOLFIN_BINARY_DIR})\n"))) + (substitute* "dolfin/nls/PETScSNESSolver.cpp" + ;; Remove SNESTEST mapping. The SNESTEST symbol was removed + ;; from PETSc at version 3.10.3. + ((".*SNESTEST.*") "" )) #t)))) (build-system cmake-build-system) (inputs -- cgit v1.2.3