-
Notifications
You must be signed in to change notification settings - Fork 129
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
Speedup CMake Configuration #595
Comments
Thanks for filing this. I think the goal here will be to either:
The (1) option would be useful for the CI as well, as atm the Cheers, |
Also I am wondering, if a quick temporary speedup of the LLVM build would be to add |
As far as I understand, the LLVM build is hardcoded to use Ninja, so should already be achieving high levels of parallelism: |
🚀 Feature
Speedup CMake Configuration Step
Motivation
Everytime we update a CMakeLists.txt file, cmake build/configuration takes a really long time. Probably, it has to re-run the entire configuration, and that means rebuilding LLVM and a bunch of stuff from source.
Pitch
N/A
Alternatives
N/A
Additional context
Some projects have rolled their own ad-hoc way to prevent rebuilds, like https://github.com/facebookresearch/CompilerGym/blob/development/external/protobuf/build_protobuf.cmake#L8-L9
so we could use a similar approach
Cc @ChrisCummins
The text was updated successfully, but these errors were encountered: