Changes

Jump to: navigation, search

Distcc mozilla tutorial

757 bytes added, 18:16, 20 April 2007
no edit summary
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_MAKE_FLAGS="CC='distcc cl' CXX='distcc cl' -j4"
 
-j4 is quite important. According to the man page, you should set the number of jobs equal to the number of all cpus (or cores) + 2.
=Environment=
distccd --allow '10.0.0.0/24' --daemon
 
=Compile Mozilla=
 
You should now be able to compile Mozilla. You won't notice distributing immediately. But you can monitor the progress using the distcc-text or distcc-gnome utility, or using the 'Task Manager'. Sometimes, mozilla forces -j1 in some directories. So be prepared for that.
 
=Complaints=
 
If you feel that these instructions are poorly written, or are having trouble using distcc to compile mozilla because something is unclear, please leave a message in the discussion page. I appreciate any feedback (good/bad) in hopes of improving this documentation.
 
You do not have to leave a contact or your name.
1
edit

Navigation menu