Re: Enabling CCache on LLVM bots

2022-07-22 Thread David Spickett
> Right: but you're using flang and mlir HEAD as a test suite for clang as I > understand it, I don't think that MLIR/flang developers should get their > patches flagged here (which is what buildbots are doing). > We (google) are doing similar tests, but in a silent infrastructure and > investig

Re: Enabling CCache on LLVM bots

2022-07-22 Thread Mehdi AMINI
On Fri, Jul 22, 2022 at 3:39 PM David Spickett wrote: > > OK! But how is testing flang in stage2 helpful for this? This is just > testing that clang from stage-1 is properly functioning right? The > test-suite is there for this I think? > > Yes, it is checking that the clang in stage 1 generates

Re: Enabling CCache on LLVM bots

2022-07-22 Thread David Spickett
> OK! But how is testing flang in stage2 helpful for this? This is just testing > that clang from stage-1 is properly functioning right? The test-suite is > there for this I think? Yes, it is checking that the clang in stage 1 generates correct SVE code. So that when that clang becomes the next

Re: Enabling CCache on LLVM bots

2022-07-22 Thread Mehdi AMINI
On Fri, Jul 22, 2022 at 1:18 PM David Spickett wrote: > > I didn't know this builder would test flang as well: which stage of the > build is doing so? > > It tests it only for stage 2, and the 1 stage bot checks stage 1. So > we do have some of that focus you talked about between > clang-aarch64-

Re: Enabling CCache on LLVM bots

2022-07-22 Thread David Spickett
> I didn't know this builder would test flang as well: which stage of the build > is doing so? It tests it only for stage 2, and the 1 stage bot checks stage 1. So we do have some of that focus you talked about between clang-aarch64-sve-vla (which is the 1 stage) and clang-aarch64-sve-vla-2stage.

Re: Enabling CCache on LLVM bots

2022-07-22 Thread Mehdi AMINI
On Fri, Jul 22, 2022 at 5:46 AM Thiago Jung Bauermann < thiago.bauerm...@linaro.org> wrote: > > Hello Mehdi, > > Mehdi AMINI writes: > > > I don't know if you are maintaining also clang-aarch64-sve-vla-2stage > > but it takes far too long right now (>10 hours). > > Yes, I actually increased its c

Re: Enabling CCache on LLVM bots

2022-07-21 Thread Thiago Jung Bauermann
Hello Mehdi, Mehdi AMINI writes: > I don't know if you are maintaining also clang-aarch64-sve-vla-2stage > but it takes far too long right now (>10 hours). Yes, I actually increased its ccache size on July 6th but only from 5 GB to 20 GB because the machine running that builder is also a devel

Re: Enabling CCache on LLVM bots

2022-07-19 Thread Mehdi AMINI
I don't know if you are maintaining also clang-aarch64-sve-vla-2stage but it takes far too long right now (>10 hours). It notifies for large number of people which is overly noisy right now. See: https://lab.llvm.org/buildbot/#/builders/198/builds/1234 One thing I noticed is that it seems to be mi

Re: Enabling CCache on LLVM bots

2022-07-06 Thread Thiago Jung Bauermann
Mehdi AMINI writes: > On Wed, Jul 6, 2022 at 9:40 PM Thiago Jung Bauermann > wrote: > > Mehdi AMINI writes: > > >> > On 29 Jun 2022, at 16:33, David Spickett > >> wrote: > >> > > >> > What build times were you expecting to see? It is useful for us to > >> > know what expectations are

Re: Enabling CCache on LLVM bots

2022-07-06 Thread Mehdi AMINI
On Wed, Jul 6, 2022 at 9:40 PM Thiago Jung Bauermann < thiago.bauerm...@linaro.org> wrote: > > Hello, > > I looked into ccache usage on the LLVM build bots. > > Mehdi AMINI writes: > > > On Wed, Jun 29, 2022 at 3:39 PM Maxim Kuvyrkov < > maxim.kuvyr...@linaro.org> > > wrote: > > > >> We have expe

Re: Enabling CCache on LLVM bots

2022-07-06 Thread Thiago Jung Bauermann
Hello, I looked into ccache usage on the LLVM build bots. Mehdi AMINI writes: > On Wed, Jun 29, 2022 at 3:39 PM Maxim Kuvyrkov > wrote: > >> We have experimented with using zorg's CCACHE settings a few years back, >> and it turned out to be more robust to configure ccache at the level of >>

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

Enabling CCache on LLVM bots

2022-06-28 Thread Mehdi AMINI
Hi, I noticed that bots like flang-aarch64-latest-gcc are quite slow and could benefit from enabling ccache. Could you make it available on the system so it could be turned on for all these builds? Thanks, -- Mehdi ___ linaro-toolchain mailing list --