llvm5: disable tests on cross compilers

This appears to be broken currently.

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

/cc @Ericson2314
This commit is contained in:
Matthew Bauer 2018-07-31 21:44:58 -04:00 committed by GitHub
parent 3183e9e32a
commit c7d77c90c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";