guix-commits
[Top][All Lists]
Advanced

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

02/15: gnu: julia-arrayinterface: Don't ask to run tests when cross-comp


From: guix-commits
Subject: 02/15: gnu: julia-arrayinterface: Don't ask to run tests when cross-compiling.
Date: Tue, 30 Aug 2022 03:02:10 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit a282c9844cd53d6a53b29ad740a95a39a30c1106
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:35 2022 +0200

    gnu: julia-arrayinterface: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/julia-xyz.scm
    (julia-arrayinterface)[arguments]{#:tests?}: When cross-compiling,
    set to #false.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/julia-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e5b159245c..a0adde6435 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -165,7 +165,8 @@ provides functions to run a few automatable checks for 
Julia packages.")
      ;; Expression: @inferred(ArrayInterface.size(Rnr)) === (StaticInt(4),)
      ;; Evaluated: (static(2),) === (static(4),)
      ;; Disable as stopgap.
-     (list #:tests? (not (target-x86-32?))))
+     (list #:tests? (not (or (%current-target-system)
+                             (target-x86-32?)))))
     (propagated-inputs
      (list julia-ifelse
            julia-requires



reply via email to

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