Skip to content

Conversation

@sdarwin
Copy link
Contributor

@sdarwin sdarwin commented Oct 13, 2025

  • apt-key is deprecated
  • curl will retry on more conditions than wget
  • move debugging output $DRONE_STAGE_MACHINE to as early as possible in the script

If this goes well and tests are passing, then it's worthwhile to copy over to any other repos also.

'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',
Copy link
Member

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.

@sdarwin
Copy link
Contributor Author

sdarwin commented Oct 13, 2025

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.

@pdimov
Copy link
Member

pdimov commented Oct 13, 2025

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.)

@sdarwin
Copy link
Contributor Author

sdarwin commented Oct 13, 2025

clang-21 is too new even for 25.04.

25.10... Try it out.

@pdimov
Copy link
Member

pdimov commented Oct 13, 2025

@sdarwin
Copy link
Contributor Author

sdarwin commented Oct 13, 2025

@pdimov
Copy link
Member

pdimov commented Oct 13, 2025

Oh wait, questing is 25.10 and has been released a few days ago. Impressive turnaround on the images, Sam. :-)

@sdarwin
Copy link
Contributor Author

sdarwin commented Oct 14, 2025

should this PR be merged? My opinion is

  1. at this moment, apt.llvm.org is still in the drone file. This PR improves that in small way. So - yes.
  2. Adding $DRONE_STAGE_MACHINE debug variables - yes.

then if you prefer, other changes can be done later.

@joaquintides joaquintides merged commit 4ec5cb5 into boostorg:develop Oct 15, 2025
59 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants