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
Cache build steps and artifacts #3096
Conversation
88d41e5
to
7ec8d0f
Compare
Thanks for thinking of the environment 😉 Maybe we could also use autoconf's caching, although I'm not sure if that works when we're doing |
If we would like to share this among the PRs, we would have to figure out what all comes into the play of creating them (configure, Makefiles?) to base the cache on them. I can certainly try that if it will work with different suffixes to bootstrap PRs. I just tried to see what parts of build take how much time, but |
Agreed, then it doesn't make sense to have a deeper look into this. An other option would be to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ccache
may be an improvement for a future PR.
I was hoping I will be able to get to look into the ccache over the last month, but it does not look like the case so I will merge the current version and open a new issue for the ccache usage. |
This is an attempt to speed up the build times and reduce the resources by caching where possible:
Its cumbersome at times and there is probably some place for improvement, but I think it should do the job. For comparsion, last builds on master:
The setup is now much faster:
The builds and tests still take considerable amount of time though.