guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: openblas: Update architectures we provide substitutes for.


From: guix-commits
Subject: 02/03: gnu: openblas: Update architectures we provide substitutes for.
Date: Thu, 1 Jun 2023 04:26:55 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 076688fa1e41a09f034a80e1a593bac43f1f1482
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jun 1 11:06:00 2023 +0300

    gnu: openblas: Update architectures we provide substitutes for.
    
    * gnu/packages/maths.scm (openblas)[arguments]: Adjust the substitutable?
    flag to only not provide substitutes when building for powerpc-linux.
    Adjust the comment accordingly.
---
 gnu/packages/maths.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 663eb0cc10..662bd49895 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4573,15 +4573,8 @@ parts of it.")
     (arguments
      (list
       #:test-target "test"
-      ;; DYNAMIC_ARCH is only supported on x86.  When it is disabled and no
-      ;; TARGET is specified, OpenBLAS will tune itself to the build host, so
-      ;; we need to disable substitutions.
-      #:substitutable?
-      (let ((system (or (%current-target-system) (%current-system))))
-        (or (string-prefix? "x86_64" system)
-            (string-prefix? "i686" system)
-            (string-prefix? "mips" system)
-            (string-prefix? "aarch64" system)))
+      ;; No default baseline is supplied for powerpc-linux.
+      #:substitutable? (not (target-ppc32?))
       #:make-flags
       #~(list (string-append "PREFIX=" #$output)
               "SHELL=bash"



reply via email to

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