From d67cd40cd8496fb3480e11ecccaa50fc6313209c Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Tue, 5 Nov 2019 21:02:54 -0500 Subject: [PATCH 1/2] llvm_9: disable failing tests on 32-bit ARM --- pkgs/development/compilers/llvm/9/llvm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/compilers/llvm/9/llvm.nix b/pkgs/development/compilers/llvm/9/llvm.nix index 9bc7e1fc20b..f7f42419fd7 100644 --- a/pkgs/development/compilers/llvm/9/llvm.nix +++ b/pkgs/development/compilers/llvm/9/llvm.nix @@ -75,6 +75,12 @@ in stdenv.mkDerivation (rec { rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp # valgrind unhappy with musl or glibc, but fails w/musl only rm test/CodeGen/AArch64/wineh4.mir + '' + optionalString stdenv.hostPlatform.isAarch32 '' + # skip failing X86 test cases on 32-bit ARM + rm test/DebugInfo/X86/convert-debugloc.ll + rm test/DebugInfo/X86/convert-inlined.ll + rm test/DebugInfo/X86/convert-linked.ll + rm test/tools/dsymutil/X86/op-convert.test '' + '' patchShebangs test/BugPoint/compile-custom.ll.py From 50c315fc4d1d90ef787182ec7b06154ff8fe7e1a Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sat, 9 Nov 2019 11:01:12 -0500 Subject: [PATCH 2/2] llvm_9: disable failing test on armv6l --- pkgs/development/compilers/llvm/9/llvm.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/llvm/9/llvm.nix b/pkgs/development/compilers/llvm/9/llvm.nix index f7f42419fd7..c8f78f5f7f2 100644 --- a/pkgs/development/compilers/llvm/9/llvm.nix +++ b/pkgs/development/compilers/llvm/9/llvm.nix @@ -81,6 +81,9 @@ in stdenv.mkDerivation (rec { rm test/DebugInfo/X86/convert-inlined.ll rm test/DebugInfo/X86/convert-linked.ll rm test/tools/dsymutil/X86/op-convert.test + '' + optionalString (stdenv.hostPlatform.system == "armv6l-linux") '' + # Seems to require certain floating point hardware (NEON?) + rm test/ExecutionEngine/frem.ll '' + '' patchShebangs test/BugPoint/compile-custom.ll.py