c-c + m-c builds now possible with pymake
sid1337 at gmail.com
Fri Apr 16 13:17:46 UTC 2010
Thanks to a lot of work by Callek and sgautherie, we're currently at
the stage where it's possible to build Thunderbird trunk (3.2a1pre) with
pymake . This is a huge win for build times on Windows.
pymake gives you:
- speed. Process creation is expensive on Windows, and msys fork() even
more so, so msys make is rather slow. pymake doesn't create submake
processes, so it's a lot faster on Windows.
- reliability. GNU make often simply stalls if you attempt to do a
parallel build. pymake doesn't.
Using pymake is easy: the only difference from a regular build is that
you need to do what client.mk does all by yourself.  has more
details, but a basic sequence of commands looks like:
1) Use autoconf to generate the needed configure files:
2) Run configure, passing in your mozconfig. Note that path_to_srcdir
should be relative.
python -O path_to_srcdir/mozilla/build/pymake/make.py [-jN]
More information about the tb-planning