From c7d77c90c6810007db498476876c33cf05d5d886 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 31 Jul 2018 21:44:58 -0400 Subject: [PATCH] llvm5: disable tests on cross compilers This appears to be broken currently. https://hydra.nixos.org/build/77597880 /cc @Ericson2314 --- pkgs/development/compilers/llvm/5/llvm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/5/llvm.nix b/pkgs/development/compilers/llvm/5/llvm.nix index 760969f3469..129a6e48b71 100644 --- a/pkgs/development/compilers/llvm/5/llvm.nix +++ b/pkgs/development/compilers/llvm/5/llvm.nix @@ -129,7 +129,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";