guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: fenics-dolfin: Fix build.


From: guix-commits
Subject: 02/02: gnu: fenics-dolfin: Fix build.
Date: Tue, 26 Feb 2019 17:25:08 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 3a261950acd3f6d156eb34b833e5b63116917990
Author: Paul Garlick <address@hidden>
Date:   Tue Feb 26 14:46:40 2019 +0000

    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 <address@hidden>
---
 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



reply via email to

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