Before running <code>./sugar-jhbuild build</code>, append this to sugar.jhbuildrc:
+
Before running <code>./sugar-jhbuild build</code>, append this to <code>sugar.jhbuildrc</code>:
<pre>
<pre>
Line 177:
Line 177:
Adjust the numbers to be twice the number of CPU cores in your machine.
Adjust the numbers to be twice the number of CPU cores in your machine.
+
+
== Using ccache to speed up rebuilds ==
+
+
To speed up full rebuilds of sugar-jhbuild (i.e. running <code>./sugar-jhbuild build</code> after removing the <code>source</code> directory) you can use [http://ccache.samba.org/ ccache]. Install it and append the following to <code>sugar.jhbuildrc</code>:
Adjust <code>/usr/lib/ccache</code> to the path used by your distribution and create the <code>ccache</code> directory (inside your <code>sugar-jhbuild</code> checkout).