Skip to content

Reduce the number of LLVM tools built to improve size and compilation time #3

@Smjert

Description

@Smjert

There are many tools we don't use or need.
Off the top of my head what we really need is clang, lld, clang-tidy, scan-build, clang-format, excluded dependencies.

The way I started to trim things is by disabling the one we don't use through setting the respective CMake variables, which are named LLVM_TOOL_<TOOL NAME>_BUILD.
I'm not 100% sure they are all consistent with that format, but if they are we could even list them in the config file and make them easily selectable.

Worth nothing that the first stage LLVM needs only clang and lld, plus dependencies, so we can have to sets of tools disabled and save more time there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions