mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 20:30:05 -05:00
gnu: julia-blockarrays: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-blockarrays)[arguments]<#:phases>: Conditionally replace the incorrect type in test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
557caa4e2c
commit
dcd7c950c6
1 changed files with 9 additions and 0 deletions
|
@ -339,6 +339,15 @@ (define-public julia-blockarrays
|
|||
(sha256
|
||||
(base32 "1by26036fk9mawmcgqxpwizgbs398v9p6vrbsgg7h6llqn3q9iw1"))))
|
||||
(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* "test/test_blockarrays.jl"
|
||||
(("Int64") "Int32")))))))))
|
||||
(propagated-inputs
|
||||
`(("julia-arraylayouts" ,julia-arraylayouts)
|
||||
("julia-fillarrays" ,julia-fillarrays)))
|
||||
|
|
Loading…
Reference in a new issue