I've really built everything except for GCC and cuda. There are maybe some libraries in common directories, but they are too old.
My build directory now looks like that:
2,0G ./libint-v2.6.0-cp2k-lmax-5
8,3G ./cmake-3.18.5
1,5G ./OpenBLAS-0.3.10
596M ./fftw-3.3.8
1017M ./libxc-4.3.4
96M ./libxsmm-1.16.1
846M ./scalapack-2.1.0
38M ./SpFFT-0.9.13
218M ./cosma-2.2.0
2,0G ./SIRIUS-7.0.0
901M ./elpa-2020.05.001
572M ./gsl-2.6
1001M ./hdf5-1.12.0
51M ./libvdwxc-0.4.0
109M ./spglib-1.16.0
133M ./libvori-201229
I think cmake is definitely not necessary but I'm really not sure.