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 ccache option to enable ccache inside the container for acceleration #238

Open
tfoote opened this issue Jun 23, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@tfoote
Copy link
Collaborator

tfoote commented Jun 23, 2023

There are a few options how this could be implemented.

  • Purely intra-container setup (without sharing outside the container)
  • Just a volume mount of the ~/.ccache directory (likely using local env redirects)
  • Mount a ccache docker container volume for the shared ccache (no host interactions)
  • Use some sort of server type integration like sccache: https://github.com/mozilla/sccache or even distcc

This should be clearly documented as only for trusted code due to the potential for cache poisoning.

@tfoote tfoote added the enhancement New feature or request label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant