dist_compilation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dist_compilation [2011/11/01 09:00] – nOyWObKmUvWCRCoRdVU 178.32.96.253 | dist_compilation [2021/02/01 05:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Play informative for me, Mr. internet wirter. | + | ====== Distributed compilation ====== |
| + | |||
| + | * apt-get install distcc ccache | ||
| + | |||
| + | mkdir local/ | ||
| + | cd local/ | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | |||
| + | * Add the following lines to your .bashrc | ||
| + | |||
| + | export CCACHE_PREFIX=distcc | ||
| + | export DISTCC_HOSTS=' | ||
| + | |||
| + | * Login again. | ||
| + | * Configure your building system to use multiple processes. Ej: make -j18, ROS_PARALLEL_JOBS=-j18, | ||
| + | * Ready. | ||
dist_compilation.1320138030.txt.gz · Last modified: 2021/02/01 05:55 (external edit)
