about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/6
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-31 21:46:07 -0400
committerGitHub <noreply@github.com>2018-07-31 21:46:07 -0400
commitf3fc04bfd2cc3889236d7b31e8555a319f0a74d5 (patch)
treed6803154f397a8753aeebfadda8372b26109e421 /pkgs/development/compilers/llvm/6
parentc7d77c90c6810007db498476876c33cf05d5d886 (diff)
downloadnixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar.gz
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar.bz2
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar.lz
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar.xz
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.tar.zst
nixlib-f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.zip
llvm6: disable tests on cross compiler
This seems to be broken currently.

https://hydra.nixos.org/build/77597880/nixlog/1

/cc @ericson2314 @dtzWill
Diffstat (limited to 'pkgs/development/compilers/llvm/6')
-rw-r--r--pkgs/development/compilers/llvm/6/llvm.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/6/llvm.nix b/pkgs/development/compilers/llvm/6/llvm.nix
index 4d981398b9aa..f95e19543a15 100644
--- a/pkgs/development/compilers/llvm/6/llvm.nix
+++ b/pkgs/development/compilers/llvm/6/llvm.nix
@@ -130,7 +130,8 @@ in stdenv.mkDerivation (rec {
     ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib
   '';
 
-  doCheck = stdenv.isLinux && (!stdenv.isi686);
+  doCheck = stdenv.isLinux && (!stdenv.isi686)
+            && (stdenv.hostPlatform == stdenv.targetPlatform);
 
   checkTarget = "check-all";