Skip to content

Set ninja=true by default#74922

Merged
bors merged 6 commits intorust-lang:masterfrom
joshtriplett:ninja-by-default
Aug 29, 2020
Merged

Set ninja=true by default#74922
bors merged 6 commits intorust-lang:masterfrom
joshtriplett:ninja-by-default

Conversation

@joshtriplett
Copy link
Copy Markdown
Member

Ninja substantially improves LLVM build time. On a 96-way system, using
Make took 248s, and using Ninja took 161s, a 35% improvement.

We already require a variety of tools to build Rust. If someone wants to
build without Ninja (for instance, to minimize the set of packages
required to bootstrap a new target), they can easily set ninja=false
in config.toml. Our defaults should help people build Rust (and LLVM)
faster, to speed up development.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.