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

Linter revert version to clang-15 #630

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Linter revert version to clang-15 #630

merged 1 commit into from
Nov 4, 2024

Conversation

Taepper
Copy link
Collaborator

@Taepper Taepper commented Oct 30, 2024

Summary

Test PR for now, whether a revert to clang-tidy-15 (using clang-15) will make the CI green again

PR Checklist

  • All necessary documentation has been adapted or there is an issue to do so.
  • The implemented feature is covered by an appropriate test.

@Taepper Taepper marked this pull request as ready for review October 30, 2024 09:34
Copy link
Contributor

There is no change in the changelog. This PR will not produce a new releasable version.

@@ -7,7 +7,7 @@ RUN apt update \
cmake python3-pip software-properties-common wget gnupg lsb-release \
&& wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc \
&& add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main' \
&& apt install -y clang-tidy-20 \
&& apt install -y clang-tidy-15 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is clang tidy 15 the only version that works right now? I think I remember that we had 17 for a while, and before we upgraded to 20, we had 19.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

15 is the most recent non-current version that is installable from that external package source. We can could also change the source to another?

Copy link
Contributor

@fengelniederhammer fengelniederhammer Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, did that change? Maybe they removed the clang-19 package? Or why was it installable before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, not all versions will be maintained. See current installation attempts:

root@063f836181fc:/# apt install clang-tidy-19
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clang-tidy-19
root@063f836181fc:/# apt install clang-tidy-18
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clang-tidy-18
root@063f836181fc:/# apt install clang-tidy-17
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clang-tidy-17
root@063f836181fc:/# apt install clang-tidy-16
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clang-tidy-16
root@063f836181fc:/# apt install clang-tidy-15
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  clang-15 clang-tools-15 icu-devtools lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-15-dev libclang-cpp15 libclang1-15 libedit2
  libffi-dev libgc1 libicu-dev libllvm15 libncurses-dev libobjc-11-dev libobjc4 libpfm4 libtinfo-dev libxml2-dev libz3-4 libz3-dev llvm-15
  llvm-15-dev llvm-15-linker-tools llvm-15-runtime llvm-15-tools python3-pygments python3-yaml
Suggested packages:
  clang-15-doc wasi-libc icu-doc ncurses-doc pkg-config llvm-15-doc python-pygments-doc ttf-bitstream-vera
The following NEW packages will be installed:
  clang-15 clang-tidy-15 clang-tools-15 icu-devtools lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-15-dev libclang-cpp15 libclang1-15
  libedit2 libffi-dev libgc1 libicu-dev libllvm15 libncurses-dev libobjc-11-dev libobjc4 libpfm4 libtinfo-dev libxml2-dev libz3-4 libz3-dev
  llvm-15 llvm-15-dev llvm-15-linker-tools llvm-15-runtime llvm-15-tools python3-pygments python3-yaml

@Taepper Taepper merged commit 4a6d699 into main Nov 4, 2024
9 checks passed
@Taepper Taepper deleted the linter-revert-version branch November 4, 2024 11:02
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.

2 participants