Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a cache for building gecko #1036

Open
llewelld opened this issue Oct 12, 2023 · 1 comment
Open

Add a cache for building gecko #1036

llewelld opened this issue Oct 12, 2023 · 1 comment

Comments

@llewelld
Copy link
Member

llewelld commented Oct 12, 2023

The gecko build generally takes a very long time.

A clean build on my 32 GiB RAM 4.70 GHz i7-1260P takes between 7 and 8 hours with a single process. Increasing the processes can speed this up, but there is a separate issue that often causes the build to hang when more than one process is used (some kind of deadlock?). See #1035.

A good way to reduce build time would be to intrdocue a build cache. This would have general benefit independent of #1035.

If a cache can be introduced via changes to the spec file and dependencies (say) then that would be great. Otherwise, some instructions for how to install and configure a suitable cache (or links to good documentation on how to do it) would be really useful.

@llewelld llewelld changed the title Add a cache for building gecko gecko Add a cache for building gecko Oct 12, 2023
@thigg
Copy link

thigg commented Oct 12, 2023

Maybe related: https://github.com/mozilla/sccache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants