about summary refs log tree commit diff
path: root/src/bootstrap/lib.rs
AgeCommit message (Collapse)AuthorLines
2016-09-11Fix typo in bootstrap/lib.rs.Ahmed Charles-1/+1
2016-09-06add utility musl_root method, update config.toml.exampleJorge Aparicio-0/+7
2016-08-29fix git submodule status checkking6cong-1/+1
2016-08-28Auto merge of #36062 - japaric:smarter-submodules, r=alexcrichtonbors-11/+79
rustbuild: smarter `git submodule`-ing With this commit, if one bootstraps rust against system llvm then the src/llvm submodule is not updated/checked-out. This saves considerable network bandwith when starting from a fresh clone of rust-lang/rust as the llvm submodule is never cloned. cc #30107 r? @alexcrichton cc @petevine ~~We could also avoid updating the jemalloc submodule if --disable-jemalloc is used. It just hasn't been implemented.~~ Done This probably doesn't handle "recursive" submodules correctly but I think we don't have any of those right now. I'm still testing a bootstrap but already confirmed that the llvm submodule doesn't get updated when `--llvm-root` is passed to `configure`.
2016-08-28fix tidy errorJorge Aparicio-1/+1
2016-08-27don't update the src/jemalloc submodule is jemalloc has been disabledJorge Aparicio-1/+8
i.e. via the --disable-jemalloc configure flag
2016-08-27don't run codegen tests when they have been disabledJorge Aparicio-2/+4
2016-08-27rustbuild: smarter `git submodule`-ingJorge Aparicio-11/+72
With this commit, if one bootstraps rust against system llvm then the src/llvm submodule is not updated/checked-out. This saves considerable network bandwith when starting from a fresh clone of rust-lang/rust as the llvm submodule is never cloned. cc #30107
2016-08-27Fixup rustbuild on #35124Manish Goregaokar-4/+0
2016-08-23Update cargo bootstrap rev and add fix for cargo#3005Brian Anderson-0/+4
2016-08-14Auto merge of #35666 - eddyb:rollup, r=eddybbors-2/+7
Rollup of 30 pull requests - Successful merges: #34941, #35392, #35444, #35447, #35491, #35533, #35539, #35558, #35573, #35574, #35577, #35586, #35588, #35594, #35596, #35597, #35598, #35606, #35611, #35615, #35616, #35620, #35622, #35640, #35643, #35644, #35646, #35647, #35648, #35661 - Failed merges: #35395, #35415
2016-08-14Rollup merge of #35577 - japaric:relax, r=alexcrichtonEduard-Mihai Burtescu-2/+7
add -mrelax-relocations=no to i686-musl and i586-gnu I've been experiencing #34978 with these two targets. This applies the hack in #35178 to these targets as well. r? @alexcrichton
2016-08-12Produce source package in rust-installer format in addition to vanilla tarballDiggory Blake-0/+2
Copy source files from rust code Add missing wildcard Remove unused function Remove use of tar --transform
2016-08-11fix matchJorge Aparicio-1/+2
2016-08-10add -mrelax-relocations=no to i686-musl and i586-gnuJorge Aparicio-2/+6
I've been experiencing #34978 with these two targets. This applies the hack in #35178 to these targets as well.
2016-08-10Improved checking of target's llvm_configCameron Hart-0/+10
Point llvm @bitshifter branch until PR accepted Use today's date for LLVM auto clean trigger Update LLVM submodule to point at rust-lang fork. Handle case when target is set
2016-08-02Fix style issuesm4b-2/+2
2016-08-01Add -mrelax-relocations=no hacks to fix musl buildm4b-0/+6
2016-07-26rustbuild: make backtraces (RUST_BACKTRACE) optionalJorge Aparicio-0/+3
but keep them enabled by default to maintain the status quo. When disabled shaves ~56KB off every x86_64-unknown-linux-gnu binary. To disable backtraces you have to use a config.toml (see src/bootstrap/config.toml.example for details) when building rustc/std: $ python bootstrap.py --config=config.toml
2016-07-21Auto merge of #34715 - scottcarr:mir-test, r=nikomatsakisbors-0/+4
Add MIR Optimization Tests I've starting working on the infrastructure for testing MIR optimizations. The plan now is to have a set of test cases (written in Rust), compile them with -Z dump-mir, and check the MIR before and after each pass.
2016-07-20add mir optimization tests, dump-mir-dir optionScott A Carr-0/+4
2016-07-15rustbuild: If local-rust is the same as the current version, then force a ↵Ximin Luo-2/+15
local-rebuild
2016-07-05rustbuild: Remove the `build` directoryAlex Crichton-20/+862
The organization in rustbuild was a little odd at the moment where the `lib.rs` was quite small but the binary `main.rs` was much larger. Unfortunately as well there was a `build/` directory with the implementation of the build system, but this directory was ignored by GitHub on the file-search prompt which was a little annoying. This commit reorganizes rustbuild slightly where all the library files (the build system) is located directly inside of `src/bootstrap` and all the binaries now live in `src/bootstrap/bin` (they're small). Hopefully this should allow GitHub to index and allow navigating all the files while maintaining a relatively similar layout to the other libraries in `src/`.
2016-05-03rustbuild: Document many more parts of the buildAlex Crichton-0/+9
This commit expands the bootstrap build system's `README.md` as well as ensuring that all API documentation is present and up-to-date. Additionally a new `config.toml.example` file is checked in with commented out versions of all possible configuration values.
2016-02-11Add a Cargo-based build systemAlex Crichton-0/+28
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!