Disable vespamalloc unless architecture is x86_64
@@ -145,7 +145,8 @@ add_subdirectory(vespajlib)
add_subdirectory(vespalib)
add_subdirectory(vespalog)
if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND
- NOT DEFINED VESPA_USE_SANITIZER)
+ NOT DEFINED VESPA_USE_SANITIZER AND
+ CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
add_subdirectory(vespamalloc)
endif()
add_subdirectory(vsm)
