llvm14: Skip broken tests on riscv

This commit is contained in:
Luiz Ribeiro 2022-07-16 22:50:41 -05:00
parent 0e48ac0469
commit c743308438

View File

@ -95,6 +95,20 @@ in stdenv.mkDerivation (rec {
'' + optionalString (stdenv.hostPlatform.system == "armv6l-linux") ''
# Seems to require certain floating point hardware (NEON?)
rm test/ExecutionEngine/frem.ll
'' + optionalString stdenv.hostPlatform.isRiscV ''
rm test/ExecutionEngine/frem.ll
rm test/ExecutionEngine/mov64zext32.ll
rm test/ExecutionEngine/test-interp-vec-arithm_float.ll
rm test/ExecutionEngine/test-interp-vec-arithm_int.ll
rm test/ExecutionEngine/test-interp-vec-logical.ll
rm test/ExecutionEngine/test-interp-vec-setcond-fp.ll
rm test/ExecutionEngine/test-interp-vec-setcond-int.ll
substituteInPlace unittests/Support/CMakeLists.txt \
--replace "CrashRecoveryTest.cpp" ""
rm unittests/Support/CrashRecoveryTest.cpp
substituteInPlace unittests/ExecutionEngine/Orc/CMakeLists.txt \
--replace "OrcCAPITest.cpp" ""
rm unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
'' + ''
patchShebangs test/BugPoint/compile-custom.ll.py
'';