diff --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt --- a/compiler-rt/test/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt @@ -62,6 +62,9 @@ if(APPLE) darwin_filter_host_archs(${tool_toupper}_SUPPORTED_ARCH TEST_ARCH) endif() + if(${tool} STREQUAL "asan") + list(REMOVE_ITEM TEST_ARCH sparc sparcv9) + endif() # TODO(dliew): We should iterate over the different # Apple platforms, not just macOS.