Closed nathanchance closed 3 years ago
I was thinking about this more overnight: does using ccache really speed up builds? I would expect to add to build time, unless you were to rebuild multiple images in repetition. Given how infrequently we update these, is it worth using ccache? Or does it somehow speed up the build regardless? I don't see how it would, unless some of the same code is being rebuilt for each image. Since we're cross compiling, I'd expect many cache misses even for the same source inputs.
Yes, as Dima said, we have always been using busybox's ash except for on PowerPC it seems. Unless you were manually running bash
after getting into the machine, there will be no visible difference.
Well, the prebuilt toolchains are infrequently updated so they should have some cache hits and the cache location is in ${HOME}
so it cannot be accidentally deleted but it seems that at least for me, there is no visible generation of a cache. I will delete it from the configurations and force push here shortly.
Alright, should be good, PTAL.
Switch to prebuilt toolchains wherever possible and use ccache.
All of the individual commits should be self explanatory but heckle me as necessary :)