Replies: 1 comment 2 replies
-
No, the only thing "ivfsoverlay sloppiness" currently does is to just allow
Ccache does not know about
Same thing here.
Yes. To dig even deeper you can enable the debug mode as described in Cache debugging to know exactly why you get cache misses.
What you're seeing is simply ccache not knowing about those options because nobody has investigated them in a ccache context before. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using Expo (
eas build --local) to build React Native apps. Expo and RN has "built in" support for ccache which seems to work well when compiling under the same directory. However, building under different directories, which is what happens when usingeas build --localdoes not seem to work (everything is a cache miss on the 2nd run).I've tried setting
CCACHE_NOHASHDIR=trueandCCACHE_BASEDIR=${EAS_BUILD_WORKINGDIR}(which is the temporary directory created for each build), and followed the logfile and can make the following observations when comparingCommand linelines andExecutinglines:-Ior-F, object files etc.-ivfsoverlay <EAS_BUILD_WORKINGDIR>/some/pathstays exactly the same in theExecutingline. The config file does setsloppiness=...,ivfsoverlay,...so I assume that is removed from the hash calculations? Another examples are-fmodules-cache-pathand-fmodules-cache-pathwhich are not rewritten, whilemodulesis in the sloppiness config line, it's not clear if that's ignored or not? And there's also-fbuild-session-filewhich is not rewritten.Am I looking in the right place when trying to understand those cache misses?
Is all of the above expected to work and it's a config issue on my end or is what I'm seeing a bug/not-supported?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions