diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-12-01 16:53:52 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-12-04 19:50:30 +0200 |
commit | 557caa4e2ce7e97fbd0c12105d18bc3714a4c404 (patch) | |
tree | 130a08f7479568ba81eb7e9031f9ddae32000936 /gnu/packages | |
parent | dbad333481d9ae863aea6b983cbcf3734f15ba12 (diff) | |
download | guix-patches-557caa4e2ce7e97fbd0c12105d18bc3714a4c404.tar guix-patches-557caa4e2ce7e97fbd0c12105d18bc3714a4c404.tar.gz |
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>
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 f54825207b..daae7ddf0b 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -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) |