8000 Unnecessary Dependency on Clang/LLVM for Non-C/C++ Analysis · Issue #108 · codellm-devkit/python-sdk · GitHub
[go: up one dir, main page]

Skip to content
Unnecessary Dependency on Clang/LLVM for Non-C/C++ Analysis #108
Closed
@rahlk

Description

@rahlk

Description

Users are required to install brew install clang llvm even when they are not analyzing C/C++ code. This imposes an unnecessary dependency on LLVM/Clang for users working with other languages like Java or Python.

Steps to Reproduce

  • Set up the tool for analyzing a non-C/C++ project (e.g., Java, Python).
  • Attempt to run an analysis without installing Clang/LLVM.
  • The tool prompts users to install clang and llvm, even though these dependencies are not needed for non-C/C++ analyses.

Expected Behavior

  • The tool should not require clang and llvm unless analyzing C/C++ code.
  • Dependency checks should be conditional based on the selected language.

Suggested Fix

  • Update the installation requirements to make Clang/LLVM optional, only enforcing them when analyzing C/C++ projects.
  • Modify dependency validation logic to check the target language before prompting users to install Clang/LLVM.

Additional Context

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0