Skip to content

Add new mechanism for installing clang tools #83

@2bndy5

Description

@2bndy5

Initially I was going to develop a rust port of clang-tools-pip in a separate repo named clang-tools-installer.

Instead I could incorporate the idea into this project. Then cpp-linter can ship with install capability that is invoked when necessary.

Ideally, it would install (in order of preference):

  1. The stripped dynamic binaries from the clang-tidy and clang-format projects on PyPI.
  2. dynamic binaries from OS-native package manager (apt on linux, homebrew on macos, chocolate on windows). This option would involve downloading (at cpp-linter-rs build time) and executing (at runtime) the official LLVM install script. This step would get skipped if the package manager is not present.
  3. the static binaries from cpp-linter/clang-tools-static-binaries builds

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions