guix_mirror_bot pushed a commit to branch master
in repository guix.

commit db2f7f6a76e58bfc5337ebf339f41b9a0469a042
Author: Paul Garlick <[email protected]>
AuthorDate: Mon Aug 11 12:47:47 2025 +0100

    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 <[email protected]>
---
 gnu/packages/simulation.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 5568a567ae..c567d3283a 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -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

Reply via email to