On Mon, Feb 24, 2014 at 07:42:14PM +0100, Javier Jardón wrote:
> On 18 February 2014 06:34, praveenm mulimani <
praveen....@gmail.com> wrote:
>
> > Is it possible to distribute the Android build process over several physical
> > servers to further reduce the build time? Has
> > anyone (Google?) done this and can they give any advice as to how they
> > automated the process?
>
> You can use distcc [1] to distribute the load between several machines
A few years ago I implemented USE_DISTCC flag for this and patched
distcc to better support Android build system. Unfortunately, it turned
out that bulk of Android build is spent compiling Java apps and
performance gains from distcc were insignificant, below 10% even under
supposedly ideal conditions.
Since the concept didn't pay off as I hoped, I never published the build
system changes. If someone wants to revisit this subject, let me know
and I can dig out the patches and notes I wrote back then.
--
Atte Peltomäki
NVIDIA Corporation
nvpublic