dist_compilation
**This is an old revision of the document!**
Distributed compilation
- apt-get install distcc ccache
mkdir local/DIR/ccachelinks/bin cd local/DIR/ccachelinks/bin ln -s /usr/bin/ccache c++ ln -s /usr/bin/ccache cc ln -s /usr/bin/ccache g++ ln -s /usr/bin/ccache gcc
- Add the following lines to your .bashrc
export CCACHEPREFIX=distcc export DISTCCHOSTS='memeruiz@lars/10:/usr/bin/distccd localhost/8'
- Login again.
- Configure your building system to use multiple processes. Ej: make -j18, ROSPARALLELJOBS=-j18, CONCURRENCY_LEVEL=18
- Ready.
dist_compilation.1320789853.txt.gz · Last modified: 2021/02/01 05:55 (external edit)
