summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2017-11-23Update release versionkennytm-1/+1
2017-11-12Bump beta releasse number to generate a new compiler.Mark Simulacrum-1/+1
2017-10-31ci: Upgrade Android SDK/NDK and refactor to use sdkmanager/avdmanager.kennytm-4/+31
* SDK tools is upgraded to 27.0.0. - Refactored to use `sdkmanager`/`avdmanager` instead of the deprecated `android` tool. * The Java version used by Android SDK is downgraded to OpenJDK-8, in order to download the SDK through HTTPS. * NDK is upgrade to r15c. - Dropped support for android-9 (2.3 / Gingerbread), the minimal supported version is now android-14 (4.0 / Ice Cream Sandwich). - Changed the default Android compiler from GCC to clang. - For details of change introduced by NDK r15, see https://github.com/android-ndk/ndk/wiki/Changelog-r15.
2017-10-20Bump the beta to .2Alex Crichton-1/+1
2017-10-12Prepare the 1.22.0 betaAlex Crichton-2/+6
This updates the Cargo submodule a bit but is otherwise pretty routine.
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-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.
2017-09-17rustbuild: Don't pass `-j` if called by `make`Alex Crichton-6/+12
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.
2017-09-17Rollup merge of #44617 - alexcrichton:download-from-us-west-1, r=aidanhsTim Neumann-1/+1
ci: Upload/download from a new S3 bucket Moving buckets from us-east-1 to us-west-1 because us-west-1 is where rust-central-station itself runs and in general is where we have all our other buckets.
2017-09-17Rollup merge of #44533 - nrc:rustfmt-submod, r=alexcrichtonTim Neumann-2/+78
Add Rustfmt r? @alexcrichton
2017-09-16Rollup merge of #44616 - alexcrichton:rustdoc-fix-again-whee, r=Mark-SimulacrumAlex Crichton-7/+10
rustbuild: Fix test "test rustdoc" invocation Previously it would use the librustc output directory which would cause rustdoc to get entirely recompiled, whereas the intention is that it uses the already-compiled artifacts from building rustdoc itself, using the tool output directory
2017-09-16Rollup merge of #44531 - QuietMisdreavus:bump-gcc, r=alexcrichtonAlex Crichton-1/+1
bump gcc for bootstrap On Windows, the gcc crate would send /Wall to msvc, which would cause builds to get flooded with warnings, exploding compile times from one hour to more than 72! The gcc crate version 0.3.54 changes this behavior to send /W4 instead, which greatly cuts down on cl.exe flooding the command prompt window with warnings.
2017-09-16Rollup merge of #44356 - nrc:rls-component-manifest, r=@alexcrichtonAlex Crichton-4/+13
Attempt to fix the component manifest problem for rls-preview cc #44270 See #44270
2017-09-16ci: Upload/download from a new S3 bucketAlex Crichton-1/+1
Moving buckets from us-east-1 to us-west-1 because us-west-1 is where rust-central-station itself runs and in general is where we have all our other buckets.
2017-09-15rustbuild: Fix test "test rustdoc" invocationAlex Crichton-7/+10
Previously it would use the librustc output directory which would cause rustdoc to get entirely recompiled, whereas the intention is that it uses the already-compiled artifacts from building rustdoc itself, using the tool output directory
2017-09-15rustbuild: Compile the error-index in stage 2Alex Crichton-2/+14
Right now we comiple rustdoc in stage 2 and the error index in stage 0, which ends up compiling rustdoc twice! To avoid compiling rustdoc twice (which takes awhile) let's just compile it once in stage 2.
2017-09-14Rollup merge of #44131 - smaeul:openssl-perl, r=Mark-SimulacrumCorey Farwell-1/+2
Explicitly run perl for OpenSSL Configure OpenSSL's Configure script is missing a shebang. On some platforms, execve falls back to execution with the shell. Some other platforms, like musl, will fail with an exec format error. Avoid this by calling perl explicitly (since it's a perl script).
2017-09-14Attempt to fix the component manifest problem for rls-previewNick Cameron-4/+13
cc #44270