guix-commits
[Top][All Lists]
Advanced

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

04/15: gnu: julia-reversediff: Don't ask to run tests when cross-compili


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

mothacehe pushed a commit to branch master
in repository guix.

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

    gnu: julia-reversediff: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/julia-xyz.scm
    (julia-reversediff)[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 4fa711b808..a4b3fe2a66 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4660,7 +4660,8 @@ can be avoided.")
      ;; Expression: hash(tr_float, hash(1)) === hash(v_float, hash(1))
      ;; MethodError: no method matching 
decompose(::ReverseDiff.TrackedReal{Float64, Float64, Nothing})
      ;; Disable as stopgap.
-     (list #:tests? (not (target-x86-32?))))
+     (list #:tests? (not (or (%current-target-system)
+                             (target-x86-32?)))))
     (propagated-inputs
      (list julia-diffresults
            julia-diffrules



reply via email to

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