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

Bind mount .ccache #72

Open
spanezz opened this issue Oct 26, 2022 · 2 comments
Open

Bind mount .ccache #72

spanezz opened this issue Oct 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@spanezz
Copy link
Contributor

spanezz commented Oct 26, 2022

As an optional argument, disabled by default, monci ci could have a --ccache argument that bind mounts ~/.ccache, read-writable, into the build system

@spanezz spanezz self-assigned this Oct 26, 2022
@spanezz spanezz added the enhancement New feature or request label Oct 26, 2022
@spanezz
Copy link
Contributor Author

spanezz commented Oct 27, 2022

Some complications:

  • ccache needs to be installed in the guest system
  • it only makes sense if user forwarding is on
  • the environment needs to be set up so that ccache is used

@spanezz
Copy link
Contributor Author

spanezz commented Oct 27, 2022

An interesting alternative is to optionally allow systems to configure the location of a .ccache directory that persists between ephemeral builds

@spanezz spanezz removed their assignment Oct 28, 2022
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