====== How to set up your environment on TUM-Rosie for distcc and ccache ====== * Get the packages installed apt-get install distcc ccache * Set up the environment in your ~/.bashrc : 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} * Create the following links in your ~/local/bin: 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++ * Make it faster by activating ssh connection caching. Add this to ~/.ssh/config : Host * ControlMaster auto ControlPath ~/.ssh_tmp/master-%r@%h:%p * Create the temporary ssh directory: mkdir ~/.ssh_tmp * Make sure you have your ssh-agent running, and that you can log in to amy without a password * Test with your favorite compile! You should see compilers running on amy and leela.