On 08-11-2014 10:35, Fernando de Oliveira wrote:
> On 07-11-2014 18:36, Fernando de Oliveira wrote:
>> Sorry, it was supposed for the dev list.
>>
>> On 07-11-2014 17:39, [email protected] wrote:
>>> Author: fernando
>>> Date: Fri Nov  7 12:39:12 2014
>>> New Revision: 14857
>>>
>>> Log:
>>> Update to firefox-33.0.3.
>>
>>
>> I have tried to build using
>>
>> mk_add_options MOZ_MAKE_FLAGS="-j1"
>>
>> and
>>
>> mk_add_options MOZ_MAKE_FLAGS="-j4"
>>
>> but it always uses j8:
>>
>> $ grep "make -j" firefox-33.0.3-Armin-blfs-2014.11.07-18h20m37s.log
>> make -j8 -C
>> /home/fernando/tmp/porg-build-2014.11.07-18h20m37s/mozilla-release/firefox-build-dir
>>
>> This is what I am building now.
>>
>> It also installs with make -j8.
>>
>> I have spent hours this afternoon trying to understand, without success.
>> It occurred in the dev VM (LFS7.6) and in this host (LFS-7.1 SVN-20120311).
>>
>> If it is not only my problem, we will need to modify mozconfig in the
>> book and make a note about that.
>>
> 
> Solved this problem.
> 
> Instead of passing the value of MOZ_MAKE_FLAGS in mozconfig, use it in
> the make commands:
> 
>  MOZ_MAKE_FLAGS="-j$NPARALLEL" make -f client.mk
> 
>  MOZ_MAKE_FLAGS="-j$NPARALLEL" make -f client.mk install INSTALL_SDK=
> 
> where the user had chosen (text similar to what is now in mozconfig)
> 
>  export NPARALLEL=<number>
> 
> Perhaps strat from the beginning
> 
>  export MOZ_MAKE_FLAGS=<number>
> 
> would work, but I've not tested yet.
> 
> Of course, MOZ_MAKE_FLAGS would be removed from mozconfig.
> 
> With this, I am obtaining in the running build to test "enable-optimize":
> 
> grep 'make -j'
> /home/fernando/Downloads/blfs/firefox-33.0.3-Armin-blfs-2014.11.08-10h18m38s.log
> make -j4 -C
> /home/fernando/tmp/porg-build-2014.11.08-10h18m38s/mozilla-release/firefox-build-dir
> 
> Any contribution about how to modify the page, including e.g. other name
> or other form for the commands is welcome, please.
> 
> Thanks.
> 
> 

This works:

export MOZ_MAKE_FLAGS=<number>
make -f client.mk
make -f client.mk install INSTALL_SDK=
unset MOZ_MAKE_FLAGS

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to