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>
This commit is contained in:
Paul Garlick 2025-08-11 12:47:47 +01:00 committed by Andreas Enge
parent 3fcd1521b3
commit db2f7f6a76
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -779,7 +779,6 @@ FFC is part of the FEniCS Project.")
python-3 python-3
pt-scotch32 pt-scotch32
suitesparse suitesparse
sundials-openmpi
zlib)) zlib))
(native-inputs (list catch-framework pkg-config)) (native-inputs (list catch-framework pkg-config))
(propagated-inputs (list python-fenics-ffc petsc-openmpi slepc-openmpi)) (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_MPI:BOOL=ON"
"-DDOLFIN_ENABLE_PARMETIS:BOOL=OFF" "-DDOLFIN_ENABLE_PARMETIS:BOOL=OFF"
"-DDOLFIN_ENABLE_SCOTCH:BOOL=ON" "-DDOLFIN_ENABLE_SCOTCH:BOOL=ON"
"-DDOLFIN_ENABLE_SUNDIALS:BOOL=ON" "-DDOLFIN_ENABLE_SUNDIALS:BOOL=OFF"
"-DDOLFIN_ENABLE_TRILINOS:BOOL=OFF") "-DDOLFIN_ENABLE_TRILINOS:BOOL=OFF")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
@ -811,8 +810,6 @@ FFC is part of the FEniCS Project.")
#$(this-package-input "slepc")) #$(this-package-input "slepc"))
(setenv "SCOTCH_DIR" (setenv "SCOTCH_DIR"
#$(this-package-input "scotch")) #$(this-package-input "scotch"))
(setenv "SUNDIALS_DIR"
#$(this-package-input "sundials"))
(setenv "UMFPACK_DIR" (setenv "UMFPACK_DIR"
#$(this-package-input "suitesparse")))) #$(this-package-input "suitesparse"))))
(add-before 'check 'pre-check (add-before 'check 'pre-check