guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 03/15: gnu: julia-forwarddiff: 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 d38a0024710d83d829a1057b9445c7864346c73c
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:36 2022 +0200

    gnu: julia-forwarddiff: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/julia-xyz.scm
    (julia-forwarddiff)[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 a0adde6435..4fa711b808 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2049,7 +2049,8 @@ c-style numerical formatting.")
      ;; Expression: dual_isapprox(FDNUM ^ PRIMAL, exp(PRIMAL * log(FDNUM)))
      ;; ERROR: LoadError: LoadError: There was an error during testing
      ;; Disable as stopgap.
-     (list #:tests? (not (target-x86-32?))))
+     (list #:tests? (not (or (%current-target-system)
+                             (target-x86-32?)))))
     (inputs                             ;required for tests
      (list julia-calculus
            julia-difftests))



reply via email to

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