about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2017-10-10Enable building clippy in CIOliver Schneider-4/+9
2017-10-10Rollup merge of #45116 - johnthagen:typo-fix, r=alexcrichtonkennytm-2/+2
Fix typos
2017-10-10Auto merge of #45141 - kennytm:rollup, r=kennytmbors-3/+3
Rollup of 9 pull requests - Successful merges: #44962, #45051, #45091, #45106, #45117, #45118, #45120, #45125, #45136 - Failed merges:
2017-10-10Auto merge of #44822 - frewsxcv:frewsxcv-eprintln, r=Kimundibors-3/+1
Migrate to eprint/eprintln macros where appropriate. None
2017-10-09cleanup: rustc doesn't use an external archiverVadim Petrochenkov-9/+2
2017-10-10Rollup merge of #45120 - johnthagen:none-identity-test, r=sfacklerkennytm-1/+1
Use identity operator `is` when comparing to None This is very minor, but idiomatic Python code uses `is` for comparisons to `None`. This is because semantically we want to compare to the "identity" of `None`, not its value. See [PEP8 for details](https://www.python.org/dev/peps/pep-0008/#programming-recommendations).
2017-10-10Rollup merge of #45118 - johnthagen:fix-section-key-name, r=alexcrichtonkennytm-1/+1
Fix variable name reference As best I can tell, this was a typo due to how similar it looks to the function above it. PyCharm found this as a unbound local variable.
2017-10-09Add __future__ imports to increase compatibility with Python 3. Derive ↵johnthagen-2/+4
Option from object to make it a new-style class for Python 3 compatibility.
2017-10-08Fix PEP8 style issues in bootstrap codejohnthagen-17/+32
2017-10-08Use identity operator `is` when comparing to Nonejohnthagen-1/+1
2017-10-08Fix variable name referencejohnthagen-1/+1
2017-10-08Fix trying to raise a bare str as an exception. This has been deprecated ↵johnthagen-1/+1
since Python 2.5
2017-10-08Fix typo in READMEjohnthagen-1/+1
2017-10-08Fix typo in commentjohnthagen-1/+1
2017-10-06incr.comp.: Bring back output of -Zincremental-info.Michael Woerister-4/+0
2017-09-29Rollup merge of #44694 - tommyip:make_clean, r=Mark-SimulacrumMark Simulacrum-25/+37
Add --all flag to ./x.py clean This make `clean` removes the LLVM and download cache directory as well. Fixes #44214. r? @Mark-Simulacrum
2017-09-29Rollup merge of #44320 - ↵Mark Simulacrum-2/+2
jakllsch:jakllsch-caf2c3d2-c939-4c4d-8c68-1aecbd570fab, r=Mark-Simulacrum Fix extended bootstrap issues with OpenSSL on NetBSD build hosts
2017-09-28Auto merge of #44785 - alexcrichton:update-cargo, r=nikomatsakisbors-33/+38
Update some minor dependencies * run `cargo update` * Update cargo submodule * Update to the `cc` crate from `gcc`
2017-09-28Migrate to eprint/eprintln macros where appropriate.Corey Farwell-3/+1
2017-09-28Update to the `cc` crateAlex Crichton-16/+20
This is the name the `gcc` crate has moved to
2017-09-28Auto merge of #44779 - tjkirch:master, r=alexcrichtonbors-0/+3
Add aarch64-unknown-linux-musl target This adds support for the aarch64-unknown-linux-musl target in the build and CI systems. This addresses half of issue #42520. The new file `aarch64_unknown_linux_musl.rs` is a copy of `aarch64_unknown_linux_gnu.rs` with "gnu" replaced by "musl", and the added logic in `build-arm-musl.sh` is similarly a near-copy of the arches around it, so overall the changes were straightforward. Testing: ``` $ sudo ./src/ci/docker/run.sh cross ... Dist std stage2 (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Building stage2 test artifacts (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Compiling getopts v0.2.14 Compiling term v0.0.0 (file:///checkout/src/libterm) Compiling test v0.0.0 (file:///checkout/src/libtest) Finished release [optimized] target(s) in 16.91 secs Copying stage2 test from stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-musl) ... Build completed successfully in 0:55:22 ``` ``` $ rustup toolchain link local obj/build/x86_64-unknown-linux-gnu/stage2 $ rustup default local ``` After setting the local toolchain as default, and adding this in ~/.cargo/config: ``` [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" ``` ...then the toolchain was able to build a working ripgrep as a test: ``` $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep -i interpreter $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep NEEDED $ file target/aarch64-unknown-linux-musl/debug/rg target/aarch64-unknown-linux-musl/debug/rg: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=be11036b0988fac5dccc9f6487eb780b05186582, not stripped ```
2017-09-27Add RLS and Rustfmt to the toolstate mechanismNick Cameron-4/+14
2017-09-27Rename rls component to rls-preview on nightlyNick Cameron-13/+4
2017-09-27bootstrap: use tar -z on extractJonathan A. Kollasch-1/+1
Some tar(1) programs—such as NetBSD's—do not automatically decompress.
2017-09-27bootstrap: use shasum(1) on NetBSD build hostsJonathan A. Kollasch-1/+1
NetBSD doesn't ship with sha256sum. The openssl build will probably try to use perl anyway, so using perl's shasum is reasonable.
2017-09-27Auto merge of #44812 - Mark-Simulacrum:rustdoc-debug, r=alexcrichtonbors-0/+5
Allow rustdoc to get compiled with debuginfo Fixes #44810 cc @QuietMisdreavus r? @alexcrichton
2017-09-26Allow rustdoc to get compiled with debuginfoMark Simulacrum-0/+5
2017-09-25Auto merge of #44085 - bjorn3:no_llvm_write_metadata, r=arielb1bors-1/+4
Allow writing metadata without llvm # Todo: * [x] Rebase * [x] Fix eventual errors * [x] <strike>Find some crate to write elf files</strike> (will do it later) Cc #43842
2017-09-24Fix fuchsia toolchain prebuild setupJames Tucker-2/+3
* Adjust bootstrap to provide useful output on failure * Add missing package dependencies in the build environment * Fix permission bits on prebuilt toolchain files
2017-09-23add aarch64-unknown-linux-musl targetBen Cressey-0/+3
Signed-off-by: Ben Cressey <bcressey@amazon.com> Signed-off-by: Tom Kirchner <tjk@amazon.com>
2017-09-23Remove leftoverbjorn3-6/+0
2017-09-23Move NoLlvmMetadataLoader to rustc_trans_traitsbjorn3-4/+3
2017-09-23Dont do no-trans for llvm enabled buildsbjorn3-1/+7
2017-09-23Allow building stage 2 compiler librariesbjorn3-7/+6
2017-09-23Allow writing metadata without llvmbjorn3-1/+6
2017-09-21Catch IOErrorMarcus Buffett-1/+1
If config.toml doesn't exist, then an IOError will be raised on the `with open(...)` line. Prior to e788fa7, this was caught because the `except` clause didn't specify what exceptions it caught, so both IOError and OSError were caught
2017-09-20Do not show "available paths" help in ./x.py cleanTommy Ip-5/+6
2017-09-20Add --all flag to ./x.py cleanTommy Ip-20/+31
This flag removes all build artifacts, including the LLVM build directory.
2017-09-19Disable clippy buildingOliver Schneider-1/+1
2017-09-19Add clippy to `toolstate.toml`Oliver Schneider-3/+48
2017-09-18rustbuild: with --no-fail-fast, report the specific commands that failedXimin Luo-8/+18
2017-09-18Auto merge of #44441 - tamird:cargo-bitflags, r=alexcrichtonbors-3/+2
Remove rustc_bitflags; use the bitflags crate r? @alexcrichton
2017-09-18Auto merge of #43628 - oli-obk:orbital_standard_library, r=alexcrichtonbors-18/+229
Run the miri test suite on the aux builder and travis Reopen of #38350 see https://github.com/rust-lang/rust/pull/43340#issuecomment-316940762 for earlier discussion Rationale for running miri's test suite in rustc's CI is that miri currently contains many features that we want in const eval in the future, and these features would break if the test suite is not run. fixes #44077 r? @nikomatsakis cc @eddyb
2017-09-17Rebase falloutOliver Schneider-0/+3
2017-09-17Prevent distribution if miri is enabledOliver Schneider-1/+26
2017-09-17-Zmir-emit-validate is in stage 0Oliver Schneider-1/+1
2017-09-17Add a file to trivially disable tool building or testingOliver Schneider-18/+109
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-2/+94
2017-09-17bootstrap: plumb verbosity into submodule opsTamir Duberstein-3/+2
Fix some lints while I'm here.
2017-09-17Auto merge of #44607 - alexcrichton:rustbuild-no-j, r=Mark-Simulacrumbors-6/+12
rustbuild: Don't pass `-j` if called by `make` In these situations Cargo just prints out a warning about ignoring the flag anyway, so let `make` take care of jobs and whatnot instead of getting warnings printed.