On 27-02-2015 09:13, Fernando de Oliveira wrote:

>>>> On 26-02-2015 22:01, Bruce Dubbs wrote:
>>>>> Ken Moffat wrote:
>>
>> Better yet news!!!
>>
>> It is honouring the mozconfig.
>>
>> I ran a build to reverify this matter, removing all MOZ_MAKE_FLAGS in
>> front of make, and left -j4 in the mozconfig. Always do, because if the
>> result shows a different value of jN, it means that "MOZ_MAKE_FLAGS=-jN
>> make" is needed. Surprise was that it ran with -j4.
>>
>> I'm now running with MOZ_MAKE_FLAGS=-j7 in mozconfig and already
>> confirmed for compiling:
>>
>> $ grep 'make -j' firefox-36.0-blfs-2015.02.27-08h39m26s.log
>> make -j7 -C /tmp/mozilla-release/firefox-build-dir
>>
>> Now, only need to finish, to see what install will use.
>>
> 
> Good news it is and right I was: both make and make install obeys to
> MOZ_MAKE_FLAGS value. So, it was really needed before, to make it "-j1"
> what was the value desired by Bruce and Ken for the install phase. Now,
> if anybody wants to build with -jN (N>1), but install with -j1, it is
> needed in one place (with make install or in mozconfig) and -jN in the
> other place:
> 
> $ grep  MOZ_MAKE_FLAGS firefox-36.0-mozconfig.standalone-book
> #mk_add_options MOZ_MAKE_FLAGS="-j1"
> #mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
> mk_add_options MOZ_MAKE_FLAGS="-j7"
> 
> $ xzgrep 'make -j' firefox-36.0-blfs-2015.02.27-08h39m26s.log.xz
> make -j7 -C /tmp/mozilla-release/firefox-build-dir
> make -j7 -C /tmp/mozilla-release/firefox-build-dir install
> 
> Again, whatever you decide or not, it is good for me.
> 

Bad news.

First, apologies for the delay, two successive hardware problems.

In order to check if

chown -R 0:0 /usr/lib/firefox-36.0

is necessary, started a build, using:

mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"

and badly surprised, discovered that it was using make -j4:

$ grep 'make -j' firefox-36.0-blfs-2015.02.27-10h19m47s.log
make -j4 -C /tmp/mozilla-release/firefox-build-dir

whereas

$ echo "$(getconf _NPROCESSORS_ONLN)"
8

Now, I'm running with

$ grep MOZ_MAKE_FLAGS firefox-36.0-mozconfig.standalone-book
#mk_add_options MOZ_MAKE_FLAGS="-j1"
#mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
mk_add_options MOZ_MAKE_FLAGS="-j5"

and have

$ grep 'make -j' firefox-36.0-blfs-2015.02.27-11h17m35s.log
make -j5 -C /tmp/mozilla-release/firefox-build-dir

After finishing the build to check if chown is needed, will run again
with j$(getconf _NPROCESSORS_ONLN), just to be sure that it workds or not.

-- 
[]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