From d4869b7e43d823bccc8f6d81dd9f5d2c13cb8f25 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 12 Sep 2024 11:24:45 +0300 Subject: gnu: julia-genericlinearalgebra: Skip some tests on aarch64-linux. * gnu/packages/julia-xyz.scm (julia-genericlinearalgebra)[arguments]: When building for aarch64-linux add a phase to skip two tests. Change-Id: I9aedee8fc0a4aec77181a3b3c6ab25412882f077 --- gnu/packages/julia-xyz.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index d800f861df..b068dee61f 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -2519,6 +2519,19 @@ (define-public julia-genericlinearalgebra (sha256 (base32 "16k1r02w5qivvr99n5a9impbnnzygpj705irf5ypy208np91xyyd")))) (build-system julia-build-system) + (arguments + (list + #:phases + (if (target-aarch64?) + #~(modify-phases %standard-phases + (add-after 'unpack 'skip-some-tests + (lambda _ + (substitute* "test/lapack.jl" + (("@testset.*stedc.*" all) + (string-append all "return\n")) + (("@testset.*stemr.*" all) + (string-append all "return\n")))))) + #~%standard-phases))) (native-inputs (list julia-quaternions)) (home-page "https://github.com/JuliaLinearAlgebra/GenericLinearAlgebra.jl") -- cgit v1.2.3