diff options
| author | Ben Boeckel <mathstuf@gmail.com> | 2016-07-01 19:47:30 -0400 |
|---|---|---|
| committer | Ben Boeckel <mathstuf@gmail.com> | 2016-07-07 21:10:18 -0400 |
| commit | 1bcd60682d5b01aa170790f98ddd96372105b4b9 (patch) | |
| tree | 46ae47d3f93f7050abce6b7a6d0196d82e0a19f7 /src/bootstrap | |
| parent | 2ad5ed07f8f3e7d5c84be2d2df747fbd90f70d68 (diff) | |
| download | rust-1bcd60682d5b01aa170790f98ddd96372105b4b9.tar.gz rust-1bcd60682d5b01aa170790f98ddd96372105b4b9.zip | |
llvm, rt: build using the Ninja generator if available
The Ninja generator generally builds much faster than make. It may also be used on Windows to have a vast speed improvement over the Visual Studio generators. Currently hidden behind an `--enable-ninja` flag because it does not obey the top-level `-j` or `-l` flags given to `make`.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/config.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index 498196e9b6d..e64d7e5a437 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -317,6 +317,7 @@ impl Config { ("OPTIMIZE_TESTS", self.rust_optimize_tests), ("DEBUGINFO_TESTS", self.rust_debuginfo_tests), ("LOCAL_REBUILD", self.local_rebuild), + ("NINJA", self.ninja), } match key { |
