Require graviton2 for aarch64i as default.
@@ -239,6 +239,8 @@ function(vespa_use_default_build_settings)
else()
set(DEFAULT_VESPA_CPU_ARCH_FLAGS "-mtune=intel")
endif()
+ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ set(DEFAULT_VESPA_CPU_ARCH_FLAGS "-march=armv8.2-a+fp16+rcpc+dotprod+crypto -mtune=neoverse-n1")
endif()
endif()
if(DEFINED DEFAULT_CMAKE_PREFIX_PATH)
