Commit bf224aef authored by Ben Wolsieffer's avatar Ben Wolsieffer
Browse files

llvm: fix version >=20 on armv6l

We were removing a test that failed on armv6l. In LLVM 20, this test was
moved to a different directory, causing the build to fail. It is not
clear if the test still needs to be removed after this reorganization,
and I don't have hardware that can do a native armv6l build of LLVM.
parent 742948d2
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -351,8 +351,11 @@ stdenv.mkDerivation (
        rm test/tools/llvm-objcopy/MachO/universal-object.test
      ''
      +
        # Seems to require certain floating point hardware (NEON?)
        optionalString (stdenv.hostPlatform.system == "armv6l-linux") ''
        # Seems to require certain floating point hardware (NEON?). Tests were
        # reorganized in LLVM 20.
        optionalString
          (stdenv.hostPlatform.system == "armv6l-linux" && lib.versionOlder release_version "20")
          ''
            rm test/ExecutionEngine/frem.ll
          ''
      +