------------------------------------------------------------ revno: 3950 author: Bruno Chareyre <[email protected]> committer: GitHub <[email protected]> timestamp: Thu 2016-10-20 14:41:32 +0200 message: minor editing of installation page modified: doc/sphinx/installation.rst
-- lp:yade https://code.launchpad.net/~yade-pkg/yade/git-trunk Your team Yade developers is subscribed to branch lp:yade. To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/installation.rst' --- doc/sphinx/installation.rst 2016-10-20 12:34:19 +0000 +++ doc/sphinx/installation.rst 2016-10-20 12:41:32 +0000 @@ -289,19 +289,23 @@ feature will be disabled. Speed-up compilation -^^^^^^^^^^^^^^^^^^^^ -When spliting the compilation on many cores (``make -jN``), ``N`` is limited by the available cores and memory. It is possible to use more cores if remote computers are available, ditributing the compilation with `ditscc <https://wiki.archlinux.org/index.php/Distcc>`_ (see distcc documentation for configuring slaves and master): +^^^^^^^^^^^^^^^^^^^^^ + +When spliting the compilation on many cores (``make -jN``), ``N`` is limited by the available cores and memory. It is possible to use more cores if remote computers are available, ditributing the compilation with `ditscc <https://wiki.archlinux.org/index.php/Distcc>`_ (see distcc documentation for configuring slaves and master):: + export CC=distcc gcc export CXX=distcc g++ cmake [options as usual] make -jN -In addition, and independently of distcc, caching previous compilations with `ccache <https://ccache.samba.org/>`_ can speed up re-compilation: +In addition, and independently of distcc, caching previous compilations with `ccache <https://ccache.samba.org/>`_ can speed up re-compilation:: + export CC=ccache gcc export CXX=ccache g++ cmake [options as usual] -The two tools can be combined very simply, adding to the above exports +The two tools can be combined very simply, adding to the above exports:: + export CCACHE_PREFIX="distcc" Yubuntu
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

