On 2020-06-05 00:22 +0100, Ken Moffat via blfs-dev wrote:
> On Fri, Jun 05, 2020 at 03:02:05AM +0800, Xi Ruoyao via blfs-dev wrote:
> > One Mozilla developer once made a lecture in our university and said "do not
> > try
> > to build Firefox without a powerful workstation" :).
> 
> I bet that was years ago!  The build has got slower, and
> continues to get slower.  And mozilla devs say that current
> llvm makes rust compiles slower.  But against that, for firefox
> development they run all the tests and do some LTO and PGO to
> produce their binaries which of course adds a lot more overhead to
> the build.  I've got a maximum of 8 cores (4 + hyperthreading) and
> watching 'top' I can see that the build has several bottlenecks
> where only one core is being used.

There is a key `rust.parallel-compiler` in rustc config.toml.  But I'm not sure
if setting it to true would help.  I'll try it.
-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

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