guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: openblas: Fix building on riscv64-linux.


From: guix-commits
Subject: branch master updated: gnu: openblas: Fix building on riscv64-linux.
Date: Tue, 01 Feb 2022 03:46:10 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 264162124f gnu: openblas: Fix building on riscv64-linux.
264162124f is described below

commit 264162124f814470e06e419ea464b6c6bb9b0a3d
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 9f7c0476ca..588b7b49d2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4554,6 +4554,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]