v01d commented on pull request #1705: URL: https://github.com/apache/incubator-nuttx/pull/1705#issuecomment-686839950
> > > > @btashton is ccache being used for builds? I looked at the scripts and I understand it should be working when "-c" is passed but it doesn't seem to be the case for the build workflow. Unless I'm missing something. > > > > > > > > > It will not work with the Docker container. I suppose I could enable that, but the MacOS build is by far the slowest build (by at least 2x). > > > > > > Isn't it possible to cache it? I used to do that with GitLab > > It is fully doable, I am just saying that flag will not work in the docker container because it is not configured that way. The MacOS build is more of an issue in terms of time. I am working on that now over in the testing repo. Ok, the complexity of the build system eludes me so I'm mostly thinking out loud. > > I am a little hesitant to preserve the cache across builds though. I never had a problem with it. ccache uses a hash of the preprocessed file and returns the .o (also considering flags). at most I think it would get a false cache miss than a false cache hit. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
