1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-22 18:20:32 +02:00

gnu: make-llvm: Disable tests for cross compilation.

The #:tests? argument has recently been added to make-llvm,
before the tests were enabled for native compilation and
disabled for cross compilation per the default arguments
in cmake-build and cmake-cross-build respectively.

But since this argument has been added, it overrides the
defaults and the test have been enabled on cross compilation,
mistakenly. The tests cannot run when cross compiling.

* gnu/packages/llvm.scm (make-llvm)[arguments]<#:tests?>:
Disable on cross compilation.

Change-Id: I5b3e33e6e9e1574eda5d1b74fe7484f157739dbb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Rutherther
2025-09-09 18:16:33 +02:00
committed by Efraim Flashner
parent ba17f39998
commit be3b2aae61

View File

@@ -621,7 +621,8 @@ output), and Binutils.")
(outputs '("out" "opt-viewer"))
(arguments
(list
#:tests? (not (target-x86-32?))
#:tests? (not (or (%current-target-system)
(target-x86-32?)))
#:configure-flags
#~(list
;; These options are required for cross-compiling LLVM according