guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34668] [PATCH] gnu: fenics-dolfin: Fix build.


From: Paul Garlick
Subject: [bug#34668] [PATCH] gnu: fenics-dolfin: Fix build.
Date: Tue, 26 Feb 2019 14:46:40 +0000

* gnu/packages/simulation.scm (fenics-dolfin)[arguments]: Remove SNESTEST
mapping, no longer valid after update of PETSc to version 3.10.3.
---
 gnu/packages/simulation.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 3637cc3..a8d2147 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -464,6 +464,10 @@ FFC is part of the FEniCS Project.")
                               "${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
-- 
1.8.3.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]