Pre-built snapshots of trunk

Dear LLVM community,

I would like to know whether it has already been discussed to provide
pre-built snapshots of Clang/LLVM trunk available for download. This used
to be available through llvm.org/apt, but since this is down I don't know
of any alternative but to build it from source. My use case is to test the
Boost.Hana library against Clang trunk on Travis, where building from source
is unfortunately not an option.

Doing so would be both useful to people experimenting with new C++ features,
and to LLVM itself because trunk could be tested by a wider audience.

Regards,
Louis Dionne

P.S.: On a similar note, are there any news regarding llvm.org/apt?

Hi Louis,

Sylvestre has setup some temporary place, I believe...

--renato

P.S.: On a similar note, are there any news regarding llvm.org/apt?

We are working on it. Note, however, that it seems that the majority
of bogus load seemed to come from CI systems, which pulled apt repo
for every and each downstream commit without any caching / checking
whether the mainline changed. We would certainly try to limit such
behavior if / when new APT mirror will be established.

I believe many projects have now switched to uncached downloads from
llvm.org/releases (Boost.Hana also does this uncached atm.). Caching on
e.g. Travis and CircleCI is not easily available for APT repositories; I
think that's why noone bothered. For simple file downloads it is much
easier, so perhaps a little explaining text can be added to the message on
llvm.org/apt .
Example Travis script with caching:
https://github.com/ldc-developers/ldc/blob/master/.travis.yml

-Johan

> P.S.: On a similar note, are there any news regarding llvm.org/apt?
We are working on it. Note, however, that it seems that the majority
of bogus load seemed to come from CI systems, which pulled apt repo
for every and each downstream commit without any caching / checking
whether the mainline changed. We would certainly try to limit such
behavior if / when new APT mirror will be established.

I believe many projects have now switched to uncached downloads from
llvm.org/releases (Boost.Hana also does this uncached atm.). Caching on e.g.
Travis and CircleCI is not easily available for APT repositories; I think
that's why noone bothered.

That's a poor excuse. :slight_smile:

For simple file downloads it is much easier, so
perhaps a little explaining text can be added to the message on llvm.org/apt

Well, adding a README doesn't mean people will read or worse, abide.

We need to be more pro-active on defending our infrastructure, so I
suggest using Apache's mod_evasive.

cheers,
--renato

Please show me the travis.yml or circle.yml file that does it :wink:

- Johan

Johan Engelen via llvm-dev <llvm-dev <at> lists.llvm.org> writes:

[..]

I believe many projects have now switched to uncached downloads from
llvm.org/releases (Boost.Hana also does this uncached atm.).

I've just implemented caching for LLVM downloads in Hana's CI. I'm testing
it and I'll merge it as soon as it's fully working.