You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anyone wants to dive into rustbuild, this should be a pretty easy bug to tackle! (in theory).
You'd probably want to start out by adding a check to sanity.rs to just see if ninja exists and then when we later build LLVM you should just be able to pass the argument to CMake!
We already just call cmake --build so I think that takes care of running ninja when it's configured, so we just need to tell CMake to use ninja.
Add rustbuild option to use Ninja for LLVM build
This change adds support for a `ninja` option in the `[llvm]` section of rustbuild's `config.toml`. When `true`, the option enables use of the Ninja build tool. Note that this change does not add support for Ninja to the old makefile based build system.
Closesrust-lang#32809
r? @alexcrichton
Ninja is much faster at building LLVM, especially when more cores get involved. We should either:
The text was updated successfully, but these errors were encountered: