-
Notifications
You must be signed in to change notification settings - Fork 80
Drone: llvm apt installation #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 'echo $DRONE_STAGE_MACHINE', | ||
| 'uname -a', | ||
| 'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -', | ||
| 'curl -sSL --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/llvm-snapshot.gpg', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may no longer need this, actually. I've been using the clangs from the system repos everywhere, they are significantly more reliable than the ones from apt.llvm.org.
What are the details about this? Do the versions on apt.llvm.org contain bugs? There are trade-offs. apt.llvm.org allows you to use LTS versions of Ubuntu, which are more stable, and even keep the CI jobs as-is, the same, for as long as it's convenient. The temporary Ubuntu releases quickly go end-of-life, not supported, removed from service, and you must update the CI jobs yet again. It may be, even with these tradeoffs, you still choose the short-term system repos. |
|
I use the LTS repos, except for the very last version (just gcc-15 at the moment; clang-20 is already in 24.04, whereas clang-21 is too new even for 25.04.) |
25.10... Try it out. |
Yes, it's available. questing=25.10. |
|
Oh wait, questing is 25.10 and has been released a few days ago. Impressive turnaround on the images, Sam. :-) |
|
should this PR be merged? My opinion is
then if you prefer, other changes can be done later. |
apt-keyis deprecatedcurlwill retry on more conditions thanwgetIf this goes well and tests are passing, then it's worthwhile to copy over to any other repos also.