guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: openblas: Use dynamic arch support for


From: guix-commits
Subject: branch core-updates updated: gnu: openblas: Use dynamic arch support for aarch64-linux.
Date: Sun, 25 Jul 2021 03:31:43 -0400

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

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new b8894e8  gnu: openblas: Use dynamic arch support for aarch64-linux.
b8894e8 is described below

commit b8894e8065643fb05fbf0cea4b6ee98658dd0fdf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jul 25 10:29:03 2021 +0300

    gnu: openblas: Use dynamic arch support for aarch64-linux.
    
    * gnu/packages/maths.scm (openblas)[arguments]: Adjust make-flags to
    build multiple architecture optimized versions for aarch64-linux.
---
 gnu/packages/maths.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 292b2e4..e7f8234 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3877,7 +3877,8 @@ parts of it.")
                        (string-prefix? "i686" system))
                    '("DYNAMIC_ARCH=1"))
                   ;; On some of these architectures the CPU can't be detected.
-                  ((string-prefix? "powerpc64le" system)
+                  ((or (string-prefix? "powerpc64le" system)
+                       (string-prefix? "aarch64" system))
                    '("DYNAMIC_ARCH=1"
                      "TARGET=GENERIC"))
                   ;; On MIPS we force the "SICORTEX" TARGET, as for the other
@@ -3885,9 +3886,6 @@ parts of it.")
                   ;; for Loongson cores are used.
                   ((string-prefix? "mips" system)
                    '("TARGET=SICORTEX"))
-                  ;; On aarch64 force the generic 'armv8-a' target
-                  ((string-prefix? "aarch64" system)
-                   '("TARGET=ARMV8"))
                   ;; Failed to detect CPU.
                   ((string-prefix? "armhf" system)
                    '("TARGET=ARMV7"))



reply via email to

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