From aa47a27f9a7a563a133cc51c732158fe4feb2257 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 18 Sep 2025 08:45:11 +0300 Subject: [PATCH] gnu: llvm-13: Skip tests on riscv64-linux. * gnu/packages/llvm.scm (llvm-13)[arguments]: Skip the tests when building for riscv64-linux. Change-Id: If7e391e1ce51d93766c89bee1db590b9ab5f12ea --- gnu/packages/llvm.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 8942aea8315..3a5ed2f8299 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -891,6 +891,12 @@ Library.") (patches (search-patches "llvm-13-gcc-14.patch")))) (arguments (substitute-keyword-arguments (package-arguments llvm-14) + ((#:tests? _ #t) + ;; The tests on riscv64 error on the differences between + ;; generic and generic-rv64. + (not (or (%current-target-system) + (target-x86-32?) + (target-riscv64?)))) ((#:phases phases '%standard-phases) #~(modify-phases #$phases (delete 'change-directory)))))