On 19-11-2014 12:47, Pierre Labastie wrote: > Hi, > > Currently, the instructions for firefox tell to pass > MOZ_MAKE_FLAGS='<number>' to the "make -f client.mk" commands. > > It seems to me that it should be: > MOZ_MAKE_FLAGS='-j <number>' > And actually, when passing MOZ_MAKE_FLAGS='3', I get: > [...] > make 3 -j4 -C /sources/firefox/mozilla-release/firefox-build-dir > make[3]: Entering directory '/sources/firefox/mozilla-release' > make[3]: warning: -jN forced in submake: disabling jobserver mode. > make[3]: *** No rule to make target '3'. Stop > make[3]: leaving directory > '/sources/firefox/mozilla-release/firefox-build-dir' > /sources/firefox/mozilla-release/client.mk:392: recipe for target > 'realbuild' failed > [...] > > Also, according to the doc, it is possible to add a line: > > |mk_add_options MOZ_MAKE_FLAGS="-j4" > > to the mozconfig file (not tested). Wouldn't that be better? >
It seems you missed: https://www.mail-archive.com/[email protected]/msg01641.html I hated doing this modification, when there was also the optimization problem yo be solved. It was done after many experimentations, not because I "just wanted that". And I don't consider a solution, but a workaround for a big in the code. I tried 1, 2, 4, in mozconfig, always got it running make -j8. Never thought about 3 or other odd integer. I've tried by hand, in script. I have found that variable in several places of the source code and in some places it seemed to ignore some values and force others, but, IIRC, it was always for debian. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
