Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2025 21:54:36 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        George Mitchell <george+freebsd@m5p.com>
Cc:        FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Re: REALLY SLOW chromium compilation
Message-ID:  <20250625215436.2572d001@rimwks.local>
In-Reply-To: <c4233f5c-a161-45ee-aa76-59c9588bd538@m5p.com>

index | next in thread | previous in thread | raw e-mail

On Fri, 20 Jun 2025 11:20:33 -0400
George Mitchell <george+freebsd@m5p.com> wrote:

> Compiling www/chromium has never been a fast operation, but a couple
> of months ago on my AMD Ryzen 5 2600X, it took a mere 16 to 18 hours
> to compile, and the last couple of times it has been taking over two
> days! I've been running 14.2-RELEASE since the end of January, and I
> believe chromium started using llvm-19 to compile last December.  I
> can't think of any other aspect of my system that changed more
> recently than that, but I could be wrong.
> 
> Is anyone else encountering this as well?  Thanks!           -- George

A few years ago cromium grow from 30k compile files to 50k.
And new versions of llvm is more slower than old, llvm 3.xx that was in base - was very fast even on coreduo.

Probably you can try build without optimizations, like -O0 to waste less time on compile, but
result will consume more CPU.

On my 5950x without turbo boost, with fixed freq = 2000 mHz and on 24 cores it takes 6+ hours.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250625215436.2572d001>