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.
This commit is contained in:
Efraim Flashner 2023-09-28 14:25:22 +03:00
parent 790f68653e
commit 3963fa1a46
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 11 additions and 0 deletions

View File

@ -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