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.
This commit is contained in:
@@ -351,10 +351,13 @@ 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") ''
|
||||
rm test/ExecutionEngine/frem.ll
|
||||
''
|
||||
# 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
|
||||
''
|
||||
+
|
||||
# 1. TODO: Why does this test fail on FreeBSD?
|
||||
# It seems to reference /usr/local/lib/libfile.a, which is clearly a problem.
|
||||
|
||||
Reference in New Issue
Block a user