guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: sundials: Remove input labels.


From: guix-commits
Subject: 07/07: gnu: sundials: Remove input labels.
Date: Thu, 14 Apr 2022 08:49:48 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 16372cb347f071b398285678ab2634d71c897954
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Thu Apr 14 14:47:18 2022 +0200

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

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]