summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-06-11 17:45:44 -0400
committerGitHub <noreply@github.com>2019-06-11 17:45:44 -0400
commit4e74a13fcb9bd9ab848193425b4e150b7c8fcd47 (patch)
treec95a6e541507b6923f050447cd1c75bd32f6ccf4 /pkgs/development/compilers
parent288eb1485b88807d47a988fc86bf44eab50fb974 (diff)
parent744ab4254cc74fe617193910eb9bad5e4ceca898 (diff)
downloadnixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar.gz
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar.bz2
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar.lz
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar.xz
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.tar.zst
nixpkgs-4e74a13fcb9bd9ab848193425b4e150b7c8fcd47.zip
Merge pull request #62894 from womfoo/fix/llvm_7-skip-x86-tests-on-armv7l
llvm_7: skip failing X86 test cases on armv7l
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/llvm/7/llvm.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/7/llvm.nix b/pkgs/development/compilers/llvm/7/llvm.nix
index c288fd3e2a5..d3d9a4c506d 100644
--- a/pkgs/development/compilers/llvm/7/llvm.nix
+++ b/pkgs/development/compilers/llvm/7/llvm.nix
@@ -84,6 +84,14 @@ in stdenv.mkDerivation (rec {
     substituteInPlace unittests/Support/CMakeLists.txt \
       --replace "add_subdirectory(DynamicLibrary)" ""
     rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
+  '' + optionalString stdenv.hostPlatform.isAarch32 ''
+    # skip failing X86 test cases on armv7l
+    rm test/DebugInfo/X86/debug_addr.ll
+    rm test/tools/llvm-dwarfdump/X86/debug_addr.s
+    rm test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
+    rm test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s
+    rm test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
+    rm test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s
   '' + ''
     patchShebangs test/BugPoint/compile-custom.ll.py
   '';