guix-commits
[Top][All Lists]
Advanced

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

02/16: gnu: julia: Also skip tests when cross-compiling.


From: guix-commits
Subject: 02/16: gnu: julia: Also skip tests when cross-compiling.
Date: Thu, 8 Dec 2022 13:31:16 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d521c2dcbaf9e13a8d95569032b203353a766b1f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 8 10:17:05 2022 +0200

    gnu: julia: Also skip tests when cross-compiling.
    
    * gnu/packages/julia.scm (julia)[arguments]: Don't run the test suite
    when cross-compiling.
---
 gnu/packages/julia.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 9f3ef031c3..5e6d188ec4 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -164,7 +164,8 @@ libraries.  It is also a bit like @code{ldd} and 
@code{otool -L}.")
 
        ;; The test suite takes many times longer than building and
        ;; can easily fail on smaller machines when they run out of memory.
-       #:tests? ,(not (target-aarch64?))
+       #:tests? ,(not (or (%current-target-system)
+                          (target-aarch64?)))
 
        ;; Do not strip binaries to keep support for full backtraces.
        ;; See https://github.com/JuliaLang/julia/issues/17831



reply via email to

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