Skip to content

install latest clang from apt.llvm.org repo - #4372

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:ci-clang
Aug 23, 2022
Merged

install latest clang from apt.llvm.org repo#4372
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:ci-clang

Conversation

@firewave

@firewave firewave commented Aug 17, 2022

Copy link
Copy Markdown
Collaborator

http://apt.llvm.org provides the latest stable and nightly packages - so we can also use the latest stable one immediately instead of waiting for a distro to pick it up. This also gets rid of the need for docker to have a recent distro which provides the latest version. It might also speed up the build a bit since less dependencies need to be installed.

Since the resulting binaries are only used in the CI and not in production it should not cause any problems that we might use bleeding-edge stable builds.

The current version is already available in the images and the base repo but they are being updated with the ones from the other repo:

Unpacking clang-14 (1:14.0.6~++20220816122211+f28c006a5895-1~exp1~20220816122246.108) over (1:14.0.0-1ubuntu1) ...
...
Unpacking clang-tidy-14 (1:14.0.6~++20220816122211+f28c006a5895-1~exp1~20220816122246.108) over (1:14.0.0-1ubuntu1) ...

…istro packages - eliminates need for docker images
@firewave
firewave marked this pull request as ready for review August 23, 2022 19:31
@danmar
danmar merged commit 19e9712 into cppcheck-opensource:main Aug 23, 2022
@firewave
firewave deleted the ci-clang branch August 23, 2022 19:42
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