summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-09-28 14:25:22 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-09-28 14:25:22 +0300
commit3963fa1a465708690cd1554d911613f1c92f5eef (patch)
treeb92f0ef1f3d8f442626d68c7abe83a3cd34b59cc /gnu
parent790f68653e12adefd87a0810bd20502a329bf9eb (diff)
downloadguix-3963fa1a465708690cd1554d911613f1c92f5eef.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm11
1 files changed, 11 insertions, 0 deletions
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