summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2018-06-27Do not build LLVM tools for any of the toolsMark Simulacrum-6/+3
None of the tools in the list should need LLVM tools themselves as far as I can tell; if this is incorrect, we can re-enable the tool building later. The primary reason for doing this is that rust-central-station uses the BuildManifest tool and building LLVM there is not cached: it takes ~1.5 hours on the 2 core machine. This commit should make nightlies and stable releases much faster.
2018-06-19Auto merge of #51367 - oli-obk:silence!_I_test_you, r=Mark-Simulacrumbors-11/+11
Use quiet tests by default r? @eddyb
2018-06-16Prevent Windows filesystem races in bootstrap testsMark Simulacrum-0/+3
2018-06-16Move bootstrap tests to the end of the default test runMark Simulacrum-1/+2
Since they are unlikely to fail and are almost never going to fail except with bootstrap changes (which would be tested locally anyway) it makes sense to run these tests close to last.
2018-06-10Added comment to explain why only RustIstaller has `llvm_tools = false`.kennytm-0/+3
2018-06-10Allowing building the codegen backend specifically.kennytm-0/+1
Use `./x.py build src/librustc_codegen_llvm` to build the codegen backend.
2018-06-10Allow some tools to be run without first building LLVM.kennytm-16/+25
Conservatively only disable LLVM for rust-installer. This should shave 5 minutes from the x86_64-gnu-distcheck job by not building LLVM twice.
2018-06-08Rollup merge of #51437 - est31:rustbuild_metadata, r=Mark-SimulacrumMark Rousskov-24/+33
rustbuild: generate full list of dependencies for metadata Previously, we didn't send --features to our cargo metadata invocations, and thus missed some dependencies that we enable through the --features mechanism.
2018-06-08rustbuild: generate full list of dependencies for metadataest31-24/+33
Previously, we didn't send --features to our cargo metadata invocations, and thus missed some dependencies that we enable through the --features mechanism.
2018-06-08Do not require stage 2 compiler for rustdocMark Simulacrum-4/+1
2018-06-07quiet-tests -> !verbose-testsOliver Schneider-12/+11
2018-06-05Use quiet tests by defaultOliver Schneider-0/+1
2018-06-03Rollup merge of #51317 - oli-obk:incremental_all_the_way, r=Mark-SimulacrumMark Simulacrum-0/+5
Allow enabling incremental via config.toml r? @QuietMisdreavus
2018-06-03impl is_tool on Mode enumCollins Abitekaniza-7/+18
make is_tool inherent prop of mode fix errors from rebase resolve issues from review
2018-06-03command line args trump config.toml settingsOliver Schneider-1/+4
2018-06-03refactor mode to ToolRustc for Rls & RustfmtCollins Abitekaniza-2/+2
2018-06-03thread tool modes throughCollins Abitekaniza-16/+36
2018-06-03refactor, make requested changesCollins Abitekaniza-16/+15
2018-06-03refactor Mode enumCollins Abitekaniza-92/+99
2018-06-03Allow enabling incremental via config.tomlOliver Schneider-0/+2
2018-06-02Rollup merge of #51302 - Mark-Simulacrum:rustdoc-fast, r=QuietMisdreavusMark Simulacrum-2/+1
Permit building rustdoc without compiler artifacts None
2018-06-02Rustdoc itself no longer requires proc macros to buildMark Simulacrum-2/+1
This avoids a full compiler build in order to build and/or run tests for rustdoc.
2018-05-31Use builder.cargo() for cargo-vendor.Johannes Nixdorf-5/+8
This makes it go through boostrap/bin/rustc.rs, so it will use -crt-static if needed.
2018-05-31builder.cargo(): don't add "--target"/"--release" to cargo installJohannes Nixdorf-5/+10
This is required to use builder.cargo for cargo-vendor.
2018-05-31bootstrap: pass crt-static for the compiler host as wellJohannes Nixdorf-0/+13
2018-05-31bootstrap.py: respect crt-staticJohannes Nixdorf-3/+30
Bootstrap requires serde_derive, which needs proc-macro crate types, so it won't work with crt-static.
2018-05-30Run rustfmtSantiago Pastorino-738/+1127
2018-05-30Add compare-mode to x.pySantiago Pastorino-1/+14
2018-05-28Auto merge of #50892 - davidtwco:issue-50004, r=alexcrichtonbors-8/+84
Added rustdoc documentation to compiler docs. Fixes #50004. r? @alexcrichton (since you reviewed the last PR about compiler docs)
2018-05-24Rollup merge of #50864 - jakllsch:add-netbsd-arm-target-specs, r=alexcrichtonkennytm-0/+2
Add NetBSD/arm target specs
2018-05-23Rollup merge of #50961 - Zoxc:fix-filecheck, r=alexcrichtonkennytm-5/+13
Fix FileCheck finding with MSVC
2018-05-22build the 2018 editionsteveklabnik-0/+6
2018-05-22Fix FileCheck findingJohn Kåre Alsaker-5/+13
2018-05-20Added rustdoc documentation step outputting into compiler documentation.David Wood-8/+84
2018-05-19Auto merge of #50709 - alexcrichton:revert-musl, r=sfacklerbors-43/+3
Revert #50105 until regression is fixed Discovered at https://github.com/rust-lang/rust/pull/50105#issuecomment-388630750 it looks like this caused a regression with i686 musl, so let's revert in the meantime while a fix is worked out
2018-05-18Add armv6-unknown-netbsd-eabihf targetJonathan A. Kollasch-0/+1
2018-05-18Add armv7-unknown-netbsd-eabihf targetJonathan A. Kollasch-0/+1
2018-05-17Rollup merge of #50806 - oli-obk:gesundheit, r=ehussMark Simulacrum-29/+37
Add `bless` x.py subcommand for easy ui test replacement fixes #49815 r? @nikomatsakis
2018-05-17Revert "bootstrap.py: respect crt-static"Alex Crichton-30/+3
This reverts commit 5ecf29df052c7eca10fccc96f4179d338fe0014e.
2018-05-17Revert "bootstrap: pass crt-static for the compiler host as well"Alex Crichton-13/+0
This reverts commit ec2b861c2f8013e10ab1f6e01c9aed9ad1daaefe.
2018-05-17Auto merge of #50629 - Mark-Simulacrum:stage-step, r=alexcrichtonbors-8/+7
Switch to bootstrapping from 1.27 It's possible the Float trait could be removed from core, but I couldn't tell whether it was intended to be removed or not. @SimonSapin may be able to comment more here; we can presumably also do that in a follow up PR as this one is already quite large.
2018-05-17Remove MAKEFLAGS to prevent accidental inheritanceMark Simulacrum-5/+4
2018-05-17Fix rustc binary metadata overwriting librustc metadataMark Simulacrum-1/+1
In #49289, rustc was changed to emit metadata for binaries, which made it so that the librustc.rmeta file created when compiling librustc was overwritten by the rustc-main compilation. This commit renames the rustc-main binary to avoid this problem. https://github.com/rust-lang/cargo/issues/5524 has also been filed to see if Cargo can learn to warn on this situation instead of leaving it for the user to debug.
2018-05-17Rename rustdoc to use underscoresMark Simulacrum-1/+1
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-1/+1
2018-05-17Fix selftestsOliver Schneider-0/+1
2018-05-17Make `bless` a flag instead of a subcommandOliver Schneider-22/+11
2018-05-17Add `bless` x.py subcommand for easy ui test replacementOliver Schneider-29/+47
2018-05-17Rename trans to codegen everywhere.Irina Popa-14/+14
2018-05-17Rollup merge of #50789 - cuviper:bootstrap-metadata, r=alexcrichtonkennytm-1/+9
Ensure libraries built in stage0 have unique metadata Issue #50786 shows a case with local rebuild where the libraries built by stage0 had the same suffix as stage0's own, and were accidentally loaded by that stage0 rustc when compiling `librustc_trans`. Now we set `__CARGO_DEFAULT_LIB_METADATA` to "bootstrap" during stage0, rather than the release channel like usual, so the library suffix will always be completely distinct from the stage0 compiler.