Hi Am 26.11.2014 um 17:03 schrieb Gregory Szorc: > On Nov 26, 2014, at 6:46, Eric Rescorla <e...@rtfm.com> wrote: >> >>> On Tue, Nov 25, 2014 at 10:50 PM, Andreas Gal <andreas....@gmail.com> wrote: >>> >>> >>> Would it make sense to check in some of the libraries we build that we >>> very rarely change, and that don’t have a lot of configure dependencies >>> people twiddle with? (icu, pixman, cairo, vp8, vp9). This could speed up >>> build times in our infrastructure and for developers. This doesn’t have to >>> be in mozilla-central. mach could pick up a matching binary for the current >>> configuration from github or similar. Has anyone looked into this? >> >> This seems like it would speed up first-build and clobber build times, but >> at least >> for me, it's incremental build performance I care about. > > Yes, people on this list generally care about C++. However, there is a very > large group - most of the Firefox Team and a large amount of Firefox OS > developers - who don't. To them, C++, libxul, others libs are 10+ minutes of > CPU wall time before they can get to things they care about (JS, CSS, XUL, > etc).
I mostly work on Gecko for FxOS and find waiting for the build to finish quite annoying. I get to wait 5 to 10 minutes for a rebuild with no changes. But adding pre-compiled libraries won't fix this problem. I'd rather like to see some other improvements. I don't know the build scripts in detail, so most of the list below comes from my impression, rather than research. * My impression is that the build scripts build several components in parallel, such as kernel, Android base system, Gecko, Gaia. Fixing this might lead to less-random disk access. * The build system seems to rebuild several files during each build; even if nothing changes. This seems to happen even for Gaia apps. Isn't there any dependency tracking for Gaia? * We really should have one makefile to control the complete build. Could we therefore generate Android.mk files for FxOS? That would allow integration with the rest of the Android build system. * Dependency tracking using CLOBBER is broken by design. Best regards Thomas > > I'll reply more later. > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform