guix-commits
[Top][All Lists]
Advanced

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

11/11: gnu: julia-arraylayouts: Fix building on more architectures.


From: guix-commits
Subject: 11/11: gnu: julia-arraylayouts: Fix building on more architectures.
Date: Thu, 28 Sep 2023 07:37:40 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3963fa1a465708690cd1554d911613f1c92f5eef
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 28 14:25:22 2023 +0300

    gnu: julia-arraylayouts: Fix building on more architectures.
    
    * gnu/packages/julia-xyz.scm (julia-arraylayouts)[arguments]: When not
    building for x86_64-linux add a phase to mark a test broken.
---
 gnu/packages/julia-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 6d06698150..82df28d9b5 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -242,6 +242,17 @@ no issues with the upgrade.")
         (sha256
          (base32 "11h0w1bqw2md5gh4dfmm1aazifcs2ydrc47hqzvav1xrx25b57z5"))))
     (build-system julia-build-system)
+    (arguments
+     (if (not (target-x86-64?))
+         ;; This test is only broken when using openblas, not openblas-ilp64.
+         (list
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'adjust-tests
+                 (lambda _
+                   (substitute* "test/test_layoutarray.jl"
+                     (("test all\\(B") "test_broken all(B"))))))
+         '()))
     (propagated-inputs
      (list julia-fillarrays))
     (native-inputs



reply via email to

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