Tried to build on my laptop with ~30GB of ram and it just failed before compiling toolkit/library/build/libxul.so
which were one of the last few components, very annoying. Retrying build with ~50GB ram on a more powerful computer.
@texer22 In the PKGBUILD on line 85 change if [ "${_only-compile}q" = q ]; then
to if [ 1 ]; then
. I would also not recommend building until someone figures out whether the PGO build really requires a lot of ram or there is an issue somewhere
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-08-08 03:44 (UTC) by xiota)
PKGBUILD has been updated. Major changes:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.mk_add_options MOZ_PARALLEL_BUILD=___
around line 300. Pick a value less than number of cores and free RAM in GB. For example, on a system with 8 cores, 64GB total RAM, but only 6 GB free, the value should be set to 4 or 5.libxul.so
. Leave a comment if you have a potential solution.Having problems? Please provide details: processor make and model, number of cores,
free -m
, full log in pastebin, whether using AUR helper/makepkg/clean chroot, etc.