me
/
guix
Archived
1
0
Fork 0

gnu: julia-lazyarrays: Fix tests on i686-linux.

* gnu/packages/julia-xyz.scm (julia-lazyarrays)[arguments]<#:phases>:
Conditionally replace the incorrect type in test suite.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
zimoun 2021-12-01 16:53:52 +01:00 committed by Efraim Flashner
parent dbad333481
commit 557caa4e2c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 0 deletions

View File

@ -2807,6 +2807,15 @@ equations in string literals in the Julia language.")
(sha256
(base32 "17rhlrmgfvdw8w62pg32ikr9j4xy2ylr7mx7ar0hnpzryv929rp5"))))
(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/multests.jl"
(("Int64") "Int32")))))))))
(propagated-inputs
`(("julia-arraylayouts" ,julia-arraylayouts)
("julia-fillarrays" ,julia-fillarrays)