mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: julia-structarrays: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-structarrays)[arguments]<#:phases>: Conditionally replace the incorrect type in the test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
afd35e8e9c
commit
eb4f1fcf74
1 changed files with 10 additions and 0 deletions
|
@ -4601,6 +4601,16 @@ (define-public julia-structarrays
|
|||
(sha256
|
||||
(base32 "0rjcpyjwzg70n87q5r9c5i1qzigavncslxssm3rk5a3y549py56v"))))
|
||||
(build-system julia-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
,@(if (target-64bit?)
|
||||
'(%standard-phases)
|
||||
'((modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-tests-int32-i686
|
||||
(lambda _
|
||||
(substitute* '("src/utils.jl"
|
||||
"test/runtests.jl")
|
||||
(("Int64") "Int32")))))))))
|
||||
(propagated-inputs
|
||||
`(("julia-dataapi" ,julia-dataapi)
|
||||
("julia-staticarrays" ,julia-staticarrays)
|
||||
|
|
Loading…
Reference in a new issue