~ruther/guix-local

db2f7f6a76e58bfc5337ebf339f41b9a0469a042 — Paul Garlick 8 months ago 3fcd152
gnu: fenics-dolfin: Remove support for SUNDIALS.

The dolfin interface to sundials requires a header file 'cvode_impl.h'
which is not available in sundials v>5.4.0.

* gnu/packages/simulation.scm (fenics-dolfin)
[inputs]: Remove SUNDIALS-OPENMPI.
[arguments]<#:configure-flags>: Disable SUNDIALS feature.
<#:phases>: Do not set SUNDIALS_DIR variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 1 insertions(+), 4 deletions(-)

M gnu/packages/simulation.scm
M gnu/packages/simulation.scm => gnu/packages/simulation.scm +1 -4
@@ 779,7 779,6 @@ FFC is part of the FEniCS Project.")
                  python-3
                  pt-scotch32
                  suitesparse
                  sundials-openmpi
                  zlib))
    (native-inputs (list catch-framework pkg-config))
    (propagated-inputs (list python-fenics-ffc petsc-openmpi slepc-openmpi))


@@ 790,7 789,7 @@ FFC is part of the FEniCS Project.")
          "-DDOLFIN_ENABLE_MPI:BOOL=ON"
          "-DDOLFIN_ENABLE_PARMETIS:BOOL=OFF"
          "-DDOLFIN_ENABLE_SCOTCH:BOOL=ON"
          "-DDOLFIN_ENABLE_SUNDIALS:BOOL=ON"
          "-DDOLFIN_ENABLE_SUNDIALS:BOOL=OFF"
          "-DDOLFIN_ENABLE_TRILINOS:BOOL=OFF")
      #:phases
      #~(modify-phases %standard-phases


@@ 811,8 810,6 @@ FFC is part of the FEniCS Project.")
                      #$(this-package-input "slepc"))
              (setenv "SCOTCH_DIR"
                      #$(this-package-input "scotch"))
              (setenv "SUNDIALS_DIR"
                      #$(this-package-input "sundials"))
              (setenv "UMFPACK_DIR"
                      #$(this-package-input "suitesparse"))))
          (add-before 'check 'pre-check