Packages are building in /sources directory. You can use this directory as mountpoint to extend disk space amount.
Second compilation of meson/ninja programs can lead to errors. To avoid this errors build directory should be cleared. You can place .cleanup empty file in /sources directory to delete derectory before extracting source package.
To speedup compilation multithreading can be used. For example, to enable building using four CPU threads write in /etc/profile this directive:
export MAKEFLAGS="-j4"
After editing /etc/profile reboot is needed for applying changes.
Some packages don't support multithreading. To compile this application you can use command before compilation:
export MAKEFLAGS="-j1"