me
/
guix
Archived
1
0
Fork 0

gnu: sundials: Remove input labels.

* gnu/packages/maths.scm (sundials)[native-inputs, inputs]: Remove labels.
(sundials-openmpi)[inputs]: Remove labels.
master
Ludovic Courtès 2022-04-14 14:47:18 +02:00 committed by Ludovic Courtès
parent 61bcd648ca
commit 16372cb347
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 8 deletions

View File

@ -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 '())