diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-12-01 16:53:53 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-12-04 19:50:30 +0200 |
commit | dcd7c950c62ca047c4c38d9e2caf2c43f3b805cb (patch) | |
tree | 27788f8f7b10edf596beb19108136f1771dfc7c0 /gnu/packages | |
parent | 557caa4e2ce7e97fbd0c12105d18bc3714a4c404 (diff) | |
download | guix-patches-dcd7c950c62ca047c4c38d9e2caf2c43f3b805cb.tar guix-patches-dcd7c950c62ca047c4c38d9e2caf2c43f3b805cb.tar.gz |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index daae7ddf0b..0ae515cdd2 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -339,6 +339,15 @@ benchmarks as well as comparing benchmark results.") (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))) |