Index: MultiSource/Applications/CMakeLists.txt =================================================================== --- MultiSource/Applications/CMakeLists.txt +++ MultiSource/Applications/CMakeLists.txt @@ -32,7 +32,14 @@ endif() if(NOT ARCH STREQUAL "XCore") if(NOT TARGET_OS STREQUAL "AIX") - add_subdirectory(ClamAV) + if(NOT ARCH STREQUAL "CSKY") + # This test has problems running on CSKY with readdir getting wrong result. + # It's because the csky libc implementation can not avoid such bug + # at https://sourceware.org/bugzilla/show_bug.cgi?id=23960#c64. + # When the csky libc implementation changed, like riscv implementation, + # it should remove. So just guard it temporarily. + add_subdirectory(ClamAV) + endif() endif() add_subdirectory(lemon) add_subdirectory(siod)