Build Fail: On ARMv8.2 version with SIMD support ARM_SVE with arm compiler

GROMACS version: 2021.1
GROMACS modification: Yes
Getting below error while building it on ARM.


-- Flag was accepted, but it did not build test source (this could be due to either the compiler or binutils)
-- Performing Test CXX_march_armv8_2a_sve_msve_vector_bits_512_FLAG_ACCEPTED
-- Performing Test CXX_march_armv8_2a_sve_msve_vector_bits_512_FLAG_ACCEPTED - Success
-- Performing Test CXX_march_armv8_2a_sve_msve_vector_bits_512_COMPILE_WORKS
-- Performing Test CXX_march_armv8_2a_sve_msve_vector_bits_512_COMPILE_WORKS - Failed
-- Flag was accepted, but it did not build test source (this could be due to either the compiler or binutils)
-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
-- Could not find any flag to build test source (this could be due to either the compiler or binutils)
CMake Error at cmake/gmxManageSimd.cmake:52 (message):
  Cannot find ARM (AArch64) SVE SIMD compiler flag.  Use a newer compiler, or
  particularly gcc version 10.1 or later, or disable SIMD support (slower).
Call Stack (most recent call first):
  cmake/gmxManageSimd.cmake:279 (gmx_give_fatal_error_when_simd_support_not_found)
  CMakeLists.txt:662 (gmx_manage_simd)

I have tried manually adding compiler flags in managesimd.cmake file but none worked.