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

Install llvm repository for newer versions of clang-format #877

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dave992
Copy link

@dave992 dave992 commented Aug 20, 2024

Using CLANG_FORMAT_VERSION we can specify which clang-format version to use. This assumes the version is available via apt.

I wanted to be able to use more recent versions of clang-format uniformly across multiple different ROS versions. Being limited to what is available for the base image is somewhat restrictive in this case. Furthermore, the packages that are included in Ubuntu are quite old.

The proposed changes check if the requested version is available via apt. If not, it will install the requested version using the Automatic installation script recommended by https://apt.llvm.org/

@dave992 dave992 force-pushed the recent_clang_format_version branch from 7d16042 to 1547277 Compare August 20, 2024 10:17
For containers that do not run as root
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.

1 participant