@figue Successfully built on my stronger pc with ~50GB swap (probably didn't need this much but previously ~30GB swap failed), not sure exactly how long it took because I had to leave it on overnight but it was still 4 hours + some. I can easily say that for any modern laptop this is still going to take over 20hrs to compile.
Think it's best to add a flag so that PGO can be optional as it won't be practical to build for most people, e.g env _PGO=true _SPEED=Y _LOCALE=en-CA makepkg -sirc
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.