In order to apply wavefunction-based correlation methods to solids it is necessary to have reliable Hartree-Fock (HF) results for the infinite system of interest. We performed Hartree-Fock calculations for the group 2 heavy alkali-earth metals Ca, Sr, and Ba. For that, basis sets of valence-double-ζ quality have been optimized for the periodic systems. In all cases small-core pseudopotentials were used to deal with the scalar-relativistic effects. We determine the cohesive energies, the equilibrium volumes and the bulk moduli of the systems at the Hartree-Fock level and compare them with experimental data as well as the results of density functional theory calculations. Relativistic effects in the case of Ba are estimated by using a non-relativistic pseudopotential. The comparative HF versus the density functional theory (DFT) study of the electronic structures of Ca, Sr, and Ba has been performed.