Make fails during installation on ARM error: ‘amdgcn_s_barrier’ is not a member of ‘llvm::Intrinsic’

You can try to temporarily remove the amd gpu codegen file and it should be able to compile