guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: openblas: Fix building on armhf-linux.


From: guix-commits
Subject: 01/03: gnu: openblas: Fix building on armhf-linux.
Date: Wed, 7 Jul 2021 02:14:34 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 67ce43c0d3664ea1f45b155e8e8857cf30e02c46
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 6 15:52:49 2021 +0300

    gnu: openblas: Fix building on armhf-linux.
    
    * gnu/packages/maths.scm (openblas)[arguments]: Add make-flag to set
    target architecture.
---
 gnu/packages/maths.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 93b8ee2..3d3d20d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3858,6 +3858,9 @@ parts of it.")
                   ;; On aarch64 force the generic 'armv8-a' target
                   ((string-prefix? "aarch64" system)
                    '("TARGET=ARMV8"))
+                  ;; Failed to detect CPU.
+                  ((string-prefix? "armhf" system)
+                   '("TARGET=ARMV7"))
                   (else '()))))
        ;; no configure script
        #:phases



reply via email to

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