Re: Improving www/chromium build time on arm64
- In reply to: Nuno Teixeira : "Improving www/chromium build time on arm64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 May 2023 13:00:43 UTC
> On May 23, 2023, at 03:31, Nuno Teixeira <eduardo@freebsd.org> wrote:
>
> Hello all,
>
> I'm running 13-STABLE on rpi4 8 and since firefox{-esr} is constantly tab crashing and seg faulting I decided to give chromium a try.
> chromium pkg isn't available for arm64 and I didn't found error log at https://pkg-status.freebsd.org/ so I decided to build it on poudriere.
>
> It fails to build around 70% but my biggest concern is build time: 27 hours for 70% compilation!
>
> Just for comparison:
> llvm15: 12h
> rust: 9h
> firefox: 6h
I tried to build ungoogled-chromium on a 32 core ARM (Ampere). The compile phase ran for four hours (~128 core-hours) before failing at 99% complete. Then poudriere spent two hours running grep single-threaded, according to top. I have seen a long grep stage before. I don't know why grep takes so long. The compile log is over 100 MB, but that should not take hours to parse.