Skip to content
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

[ubuntu] Clang 9 will be removed on May, 17th and default will be set to Clang 11 #3235

Closed
1 of 9 tasks
AlenaSviridenko opened this issue Apr 22, 2021 · 5 comments
Closed
1 of 9 tasks
Assignees
Labels
Announcement Area: Clang awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: Ubuntu

Comments

@AlenaSviridenko
Copy link
Contributor

AlenaSviridenko commented Apr 22, 2021

Breaking changes
Clang 9 will be removed from Ubuntu 20.04 images in favor of Clang 12, also default will be set to Clang 11

Target date
Image deployment will start on May, 17th and will take 3-4 days

The motivation for the changes
Based on our guidelines we support 3 latest major versions of Clang, so in order to add a new one, we are removing Clang 9.

Possible impact
Projects that depend on Clang 9 or Clang 10 will be broken.

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.13
  • macOS 10.14
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Mitigation ways
The snippet below allows you installing Clang 9

sudo apt-get update
sudo apt-get install -y "clang-9" "lldb-9" "lld-9" "clang-format-9"

The following snippet will change default version to Clang 10 back:

update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-10 100
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-10 100
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 100
@EwoutH
Copy link
Contributor

EwoutH commented Apr 30, 2021

With this change, can we also move the default Clang version from 10 to 11?

@AlenaSviridenko
Copy link
Contributor Author

Good point, we can do that as well. I'll update the announcement, thanks!

@AlenaSviridenko AlenaSviridenko changed the title [ubuntu] Clang 9 will be removed on May, 17th [ubuntu] Clang 9 will be removed on May, 17th and default will be set to Clang 11 May 4, 2021
@miketimofeev miketimofeev self-assigned this May 13, 2021
@miketimofeev miketimofeev added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label May 14, 2021
@claremacrae
Copy link

Possible impact
Projects that depend on Clang 9 or Clang 10 will be broken.

Why could projects that depend on Clang 10 be broken?

@miketimofeev
Copy link
Contributor

miketimofeev commented May 17, 2021

@claremacrae looks like there is a mistake in the initial message. We're going to remove clang 9 only.
UPD: clang 10 builds can be broken since we change the default clang version from 10 to 11.

odygrd added a commit to odygrd/quill that referenced this issue May 17, 2021
linusg added a commit to linusg/serenity that referenced this issue May 20, 2021
This didn't seem to have worked in the past, the new value matches the
recomendation on the GitHub Actions clang-11 default announcement:

actions/runner-images#3235
linusg added a commit to SerenityOS/serenity that referenced this issue May 20, 2021
This didn't seem to have worked in the past, the new value matches the
recomendation on the GitHub Actions clang-11 default announcement:

actions/runner-images#3235
@miketimofeev
Copy link
Contributor

The deployment was completed.

Coderdreams pushed a commit to Coderdreams/serenity that referenced this issue May 22, 2021
This didn't seem to have worked in the past, the new value matches the
recomendation on the GitHub Actions clang-11 default announcement:

actions/runner-images#3235
@AlenaSviridenko AlenaSviridenko unpinned this issue May 24, 2021
Hendiadyoin1 pushed a commit to Hendiadyoin1/serenity that referenced this issue May 24, 2021
This didn't seem to have worked in the past, the new value matches the
recomendation on the GitHub Actions clang-11 default announcement:

actions/runner-images#3235
apcountryman added a commit to apcountryman/picolibrary that referenced this issue May 28, 2021
Resolves #461 (Explicitly set format CI job clang-format version).

The GitHub actions Ubuntu 20.04 image's default clang-format version has
changed from 10 to 11 (see
actions/runner-images#3235). The format
CI job now explicitly sets the clang-format version to 10 for
consistency with the development environment.
apcountryman added a commit to apcountryman/picolibrary that referenced this issue May 28, 2021
Resolves #461 (Explicitly set format CI job clang-format version).

The GitHub actions Ubuntu 20.04 image's default clang-format version has
changed from 10 to 11 (see
actions/runner-images#3235). The format
CI job now explicitly sets the clang-format version to 10 for
consistency with the development environment.
TheOneRing added a commit to owncloud/client that referenced this issue Jun 16, 2021
TheOneRing added a commit to owncloud/client that referenced this issue Jun 16, 2021
rishflab added a commit to rishflab/rust-secp256k1 that referenced this issue Jul 14, 2021
rishflab added a commit to rishflab/rust-secp256k1 that referenced this issue Jul 14, 2021
bonomat pushed a commit to bonomat/rust-secp256k1 that referenced this issue Jul 14, 2021
bonomat pushed a commit to bonomat/rust-secp256k1 that referenced this issue Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Announcement Area: Clang awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: Ubuntu
Projects
None yet
Development

No branches or pull requests

4 participants