~ruther/guix-local

be3b2aae61fa39b2694b862176b3880dd020fb15 — Rutherther 9 months ago ba17f39
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>
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/llvm.scm
M gnu/packages/llvm.scm => gnu/packages/llvm.scm +2 -1
@@ 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