guix-commits
[Top][All Lists]
Advanced

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

13/19: gnu: openblas: Fix building on riscv64-linux.


From: guix-commits
Subject: 13/19: gnu: openblas: Fix building on riscv64-linux.
Date: Sun, 8 Aug 2021 04:55:00 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit ac5e06c87e1cadef5e6e331d39416ef6235c0f2c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 4 09:46:26 2021 +0300

    gnu: openblas: Fix building on riscv64-linux.
    
    * gnu/packages/maths.scm (openblas)[arguments]: Adjust make-flags on
    riscv64-linux to target the correct architecture when building for
    riscv64-linux.
---
 gnu/packages/maths.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a594278..e6b4641 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4040,6 +4040,8 @@ parts of it.")
                   ;; Failed to detect CPU.
                   ((string-prefix? "armhf" system)
                    '("TARGET=ARMV7"))
+                  ((string-prefix? "riscv64" system)
+                   '("TARGET=RISCV64_GENERIC"))
                   (else '()))))
        ;; no configure script
        #:phases



reply via email to

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