This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| robots:rosie_distcc [2010/09/16 08:41] – amaldo | robots:rosie_distcc [2014/06/10 12:34] (current) – amaldo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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=' | ||
| + | export ROS_PARALLEL_JOBS=" | ||
| + | export PATH=${HOME}/ | ||
| + | |||
| + | * Create the following links in your ~/ | ||
| + | |||
| + | cd ~/local/bin | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | |||
| + | * Make it faster by activating ssh connection caching. Add this to ~/ | ||
| + | |||
| + | Host * | ||
| + | ControlMaster auto | ||
| + | ControlPath ~/ | ||
| + | |||
| + | * 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. | ||