How to set up your environment on TUM-Rosie for distcc and ccache

apt-get install distcc ccache

export CCACHE_PREFIX=distcc
export DISTCC_HOSTS='username@amy/8:/usr/bin/distccd username@leela/8:/usr/bin/distccd'
export ROS_PARALLEL_JOBS="-j18"
export PATH=${HOME}/local/bin:${PATH}
cd ~/local/bin
ln -s /usr/bin/ccache cc
ln -s /usr/bin/ccache c++
ln -s /usr/bin/ccache gcc
ln -s /usr/bin/ccache g++
Host *
  ControlMaster auto
  ControlPath ~/.ssh_tmp/master-%r@%h:%p
mkdir ~/.ssh_tmp