Re: Enabling CCache on LLVM bots

2022-06-29 Thread Mehdi AMINI
On Wed, Jun 29, 2022 at 3:39 PM Maxim Kuvyrkov wrote: > To add to David's answer, here is the logic that enables ccache in > Linaro-maintained buildbots: > https://git.linaro.org/ci/dockerfiles.git/tree/tcwg-base/tcwg-llvmbot/run.sh#n48 > . > Nice trick! > > We have experimented with using zorg

Re: Enabling CCache on LLVM bots

2022-06-29 Thread Maxim Kuvyrkov
To add to David's answer, here is the logic that enables ccache in Linaro-maintained buildbots: https://git.linaro.org/ci/dockerfiles.git/tree/tcwg-base/tcwg-llvmbot/run.sh#n48 . We have experimented with using zorg's CCACHE settings a few years back, and it turned out to be more robust to con

Re: Enabling CCache on LLVM bots

2022-06-29 Thread David Spickett
While it's not visible in the zorg config we are using ccache. Except we do it by setting the compiler to a script that runs the expected clang/gcc via ccache. We can certainly look at using the ccache enable in zorg instead (for the first attempt it was easier to do it in a way we could control on