guix-commits
[Top][All Lists]
Advanced

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

38/45: gnu: grass: Remove dependency on lapack.


From: guix-commits
Subject: 38/45: gnu: grass: Remove dependency on lapack.
Date: Thu, 4 Apr 2024 10:40:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1c827ef19e853b694df85a60f8c7b0f4ca5a1fc6
Author: Romain GARBAGE <romain.garbage@inria.fr>
AuthorDate: Mon Mar 11 12:07:15 2024 +0100

    gnu: grass: Remove dependency on lapack.
    
    * gnu/packages/geo.scm (grass): Remove dependency on lapack.
    Add 'fix-lapack build phase.
    
    Change-Id: I758a9b2434f0ad9f8b85a5c5cde6d0a80e6defb2
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/geo.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 506180461d..460f810d3e 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2609,7 +2609,6 @@ orienteering sport.")
          ("gdal" ,gdal)
          ("geos" ,geos)
          ("glu" ,glu)
-         ("lapack" ,lapack)
          ("libpng" ,libpng)
          ("libtiff" ,libtiff)
          ("mesa" ,mesa)
@@ -2643,6 +2642,11 @@ orienteering sport.")
                              (guix build python-build-system))
          #:phases
          (modify-phases %standard-phases
+           (add-after 'unpack 'fix-lapack
+             (lambda _
+               (substitute* "./configure"
+                 (("-lblas") "-lopenblas")
+                 (("-llapack") "-lopenblas"))))
            (replace 'configure
              (lambda* (#:key inputs outputs #:allow-other-keys)
                (let ((shell (search-input-file inputs "/bin/bash")))



reply via email to

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