def __setup(self):
        """Construct the series of shell commands, i.e., fill in
           self.__commands"""
        if not self.__source and hpccm.config.g_cpu_arch == cpu_arch.X86_64:
            # Use the pre-compiled x86_64 binary
            self.__binary()
        elif not self.__source and hpccm.config.g_cpu_arch == cpu_arch.AARCH64 and Version(self.__version) >= Version('3.20'):
            # Use the pre-compiled aarch64 binary
            self.__binary()
        else:
            # Build from source
            self.__build()
Construct the series of shell commands, i.e., fill in
           self.__commands
hpccm/building_blocks/cmake.py