gnu: arpack-ng-openmpi: Fix build.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Fri, 11 May 2018 15:16:12 +0000 (17:16 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 11 May 2018 16:42:42 +0000 (18:42 +0200)
* gnu/packages/maths.scm (arpack-ng-openmpi)[arguments]: Inherit
arguments from ARPACK-NG.  Previously the 'configure' phase would fail
due to the lack of a 'configure' script.

gnu/packages/maths.scm

index edbbdff..6387f71 100644 (file)
@@ -479,7 +479,10 @@ large scale eigenvalue problems.")
     (inputs
      `(("mpi" ,openmpi)
        ,@(package-inputs arpack-ng)))
-    (arguments `(#:configure-flags '("--enable-mpi")))
+    (arguments
+     (substitute-keyword-arguments (package-arguments arpack-ng)
+       ((#:configure-flags _ '())
+        ''("--enable-mpi"))))
     (synopsis "Fortran subroutines for solving eigenvalue problems with MPI")))
 
 (define-public lapack