-
Notifications
You must be signed in to change notification settings - Fork 565
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
All compilation requests result in a cache miss #357
Comments
Make sure to checkout #343 and ensure the |
I ran into this a while back when I was experimenting with using minio with sccache. You must manually create the bucket, and then explicitly enable write access to it, minios default permissions seem to be read only. |
@randombit I have already created the bucket and set the permissions. I just had to set the |
Glad to see you got this sorted out! Sorry that this isn't easier to diagnose. We have a long-standing issue filed on potentially exposing these errors more usefully: #45 |
I am trying to setup sccache with a minio server on my CI servers to build my C++ projects. I have built and installed sccache with all features and in release configuration from latest master commit and sccache is installed under
/root/.cargo/bin/sccache
.I am using cmake and ninja generator and this is how I am integrating sccache with cmake
before building my project I exported the following variables and started the sccahe server on my CI build server:
then configure and run my build. This is what I get when I query for the cache stat:
It appears all comilation requests results in a cache miss. I have no clue how I can go about debugging this issue. I assumed there might be a problem with configuration of my minio server and I ran this set of tests and all of them appear to be passing.
What am I missing in my setup/configuration? Is there a simple setup (rust or C++ or anything else) that I can run to test my setup? Are there any ports that I should add to my firewall for sccache client/server?
The text was updated successfully, but these errors were encountered: