Closed GoogleCodeExporter closed 9 years ago
If you call distcc you get the help that includes these lines:
..
Options:
..
-j calculate the concurrency level from
the host list.
So what you need to do when you invoke your make command is:
set nr_distcc_procs=`distcc -j` #in tcsh shell, different for bash or other
shells
make -j${nr_distcc_procs}
or something similar.
It should do exactly what you need.
HTH
Original comment by nilswoet...@gmail.com
on 17 Sep 2011 at 2:14
As nilswoetzel explained, the existing "-j" option to "distcc" should do what
you want.
Original comment by fergus.h...@gmail.com
on 4 Apr 2012 at 7:16
Original issue reported on code.google.com by
Kice...@gmail.com
on 31 Jul 2011 at 8:01