From db2f7f6a76e58bfc5337ebf339f41b9a0469a042 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Mon, 11 Aug 2025 12:47:47 +0100 Subject: [PATCH] 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 --- 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 5568a567aef..c567d3283a0 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