aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2019-02-26 14:46:40 +0000
committerLeo Famulari <leo@famulari.name>2019-02-26 17:12:30 -0500
commit3a261950acd3f6d156eb34b833e5b63116917990 (patch)
tree96cac7febf147bb7882e511058c8e8b95514147d /gnu
parent758439cf4b20851d25c1d72d289cc6d4556ccda2 (diff)
downloadguix-3a261950acd3f6d156eb34b833e5b63116917990.tar
guix-3a261950acd3f6d156eb34b833e5b63116917990.tar.gz
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 <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/simulation.scm4
1 files changed, 4 insertions, 0 deletions
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 @@ 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