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

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

Open
Smjert opened this issue Sep 4, 2019 · 0 comments

Comments

@Smjert
Copy link
Member

Smjert commented Sep 4, 2019

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.

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

No branches or pull requests

1 participant