v01d commented on pull request #1705:
URL: https://github.com/apache/incubator-nuttx/pull/1705#issuecomment-686837808


   > > @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 
   
   > > @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).
   
   Not sure how GitHub does it but you can bind mount a host directory when 
running docker. I mapped $HOME/.ccache when did similar thing on GitLab 
(private installation though). If you can do that and then cache the directory 
between builds, it should be usable even from within container.
   


----------------------------------------------------------------
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]


Reply via email to