summary refs log tree commit diff
path: root/src/bootstrap/build/step.rs
AgeCommit message (Collapse)AuthorLines
2016-03-01Auto merge of #31713 - alexcrichton:rustbuild-docs, r=brsonbors-0/+21
This commit implements documentation generation of the nomicon, the book, the style guide, and the standalone docs. New steps were added for each one as well as appropriate makefile targets for each one as well.
2016-02-28rustbuild: Relax assertions about stage0Alex Crichton-1/+0
This allows bootstrapping new platforms immediately in stage0
2016-02-28rustbuild: Add steps for linking a sysrootAlex Crichton-4/+41
When cross compiling for a new host, we can't actually run the host compiler to generate its own libs. In theory, however, all stage2 compilers (for any host) will produce the same libraries, so we just require the build compiler to produce the necessary host libraries and then we link those into place.
2016-02-28rustbuild: Document what steps areAlex Crichton-0/+14
2016-02-28rustbuild: Compile with the build compilerAlex Crichton-2/+2
This switches the defaults to ensure that everything is built with the build compiler rather than the host compiler itself (which we're not guaranteed to be able to run)
2016-02-28rustbuild: Fix a copy/paste errorAlex Crichton-1/+1
Fixes `--step librustc`
2016-02-28rustbuild: Enable bootstrapping new hostsAlex Crichton-7/+4
This commit fixes a longstanding issue with the makefiles where all host platforms bootstrap themselves. This commit alters the build logic for the bootstrap to instead only bootstrap the build triple, and all other compilers are compiled from that one compiler. The benefit of this change is that we can cross-compile compilers which cannot run on the build platform. For example our builders could start creating `arm-unknown-linux-gnueabihf` compilers. This reduces the amount of bootstrapping we do, reducing the amount of test coverage, but overall it should largely just end in faster build times for multi-host compiles as well as enabling a feature which can't be done today. cc #5258
2016-02-16rustbuild: Add rustbook/standalone doc supportAlex Crichton-0/+21
This commit implements documentation generation of the nomicon, the book, the style guide, and the standalone docs. New steps were added for each one as well as appropriate makefile targets for each one as well.
2016-02-11Add a Cargo-based build systemAlex Crichton-0/+177
This commit is the start of a series of commits which start to replace the makefiles with a Cargo-based build system. The aim is not to remove the makefiles entirely just yet but rather just replace the portions that invoke the compiler to do the bootstrap. This commit specifically adds enough support to perform the bootstrap (and all the cross compilation within) along with generating documentation. More commits will follow up in this series to actually wire up the makefiles to call this build system, so stay tuned!