From 16372cb347f071b398285678ab2634d71c897954 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 14 Apr 2022 14:47:18 +0200 Subject: gnu: sundials: Remove input labels. * gnu/packages/maths.scm (sundials)[native-inputs, inputs]: Remove labels. (sundials-openmpi)[inputs]: Remove labels. --- gnu/packages/maths.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ccf3a0e0de..f9767d2430 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6087,12 +6087,10 @@ and comparisons are supported.") "0327a1fy8rilwc4brsqqb71jd1ymb7mqgxsylab06crcg5xn7byg")))) (build-system cmake-build-system) (native-inputs - `(("python" ,python-2))) ;for tests; syntax incompatible with python 3 + (list python-2)) ;for tests; syntax incompatible with python 3 (inputs - `(("fortran" ,gfortran) ;for fcmix - ("blas" ,openblas) - ("petsc" ,petsc) - ("suitesparse" ,suitesparse))) ;TODO: Add hypre + (list gfortran ;for fcmix + openblas petsc suitesparse)) ;TODO: Add hypre (arguments `(#:configure-flags `("-DCMAKE_C_FLAGS=-O2 -g -fcommon" "-DEXAMPLES_ENABLE_C:BOOL=ON" @@ -6125,9 +6123,9 @@ easily be incorporated into existing simulation codes.") (inherit sundials) (name "sundials-openmpi") (inputs - `(("mpi" ,openmpi) - ("petsc-openmpi" ,petsc-openmpi) ;support in SUNDIALS requires MPI - ,@(alist-delete "petsc" (package-inputs sundials)))) + (modify-inputs (package-inputs sundials) + (delete "petsc") + (prepend openmpi petsc-openmpi))) ;support in SUNDIALS requires MPI (arguments (substitute-keyword-arguments (package-arguments sundials) ((#:configure-flags flags '()) -- cgit v1.2.3