| | 273 | * Make sure you integrate it seamlessly with ccache by allowing enough jobs your local icecc daemon: |
| | 274 | (CCache run preprocessor with calling icecc, which connects to your local icecc daemon, which run preprocessing locally. |
| | 275 | Don't set ICECC_MAX_JOBS="0" to forbid accepting remote jobs, because in this case CCache can preprocess only on one thread. |
| | 276 | The ideal setting for ICECC_MAX_JOBS is the number of your processors.) |
| | 277 | {{{ |
| | 278 | #!sh |
| | 279 | $ cat /etc/icecc/icecc.config |
| | 280 | ... |
| | 281 | # |
| | 282 | # You can overwrite here the number of jobs to run in parallel. Per |
| | 283 | # default this depends on the number of (virtual) CPUs installed. |
| | 284 | # |
| | 285 | # Note: a value of "0" is actually interpreted as "1", however it |
| | 286 | # also sets ICECC_ALLOW_REMOTE="no". |
| | 287 | # |
| | 288 | # ICECC_MAX_JOBS="" |
| | 289 | ICECC_MAX_JOBS="<number-of-your-processors>" |
| | 290 | ... |
| | 291 | }}} |
| | 292 | |