about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
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
2017-09-13Reviewer changesNick Cameron-0/+1
2017-09-13Build and test RustfmtNick Cameron-2/+77
2017-09-12bump gcc for bootstrapQuietMisdreavus-1/+1
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-12Auto merge of #44413 - est31:move_man, r=nikomatsakisbors-2/+1
Move the man directory to a subdirectory There is no reason it should be in the top directory.
2017-09-11rustbuild: Fix a distribution bug with rustdocAlex Crichton-0/+1
Apparently `File::create` was called when there was an existing hard link or the like, causing an existing file to get accidentally truncated! Closes #44487
2017-09-10Auto merge of #44260 - alexcrichton:hardlink-no-copy, r=Mark-Simulacrumbors-10/+27
rustbuild: Switch back to using hard links The `copy` function historically in rustbuild used hard links to speed up the copy operations that it does. This logic was backed out, however, in #39518 due to a bug that only showed up on Windows, described in #39504. The cause described in #39504 happened because Cargo, on a fresh build, would overwrite the previous artifacts with new hard links that Cargo itself manages. This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer should overwrite files on fresh builds, opportunistically leaving the filesystem intact and not touching it. Hopefully this can help speed up local builds by doing fewer copies all over the place!
2017-09-09rustbuild: Switch back to using hard linksAlex Crichton-10/+27
The `copy` function historically in rustbuild used hard links to speed up the copy operations that it does. This logic was backed out, however, in #39518 due to a bug that only showed up on Windows, described in #39504. The cause described in #39504 happened because Cargo, on a fresh build, would overwrite the previous artifacts with new hard links that Cargo itself manages. This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer should overwrite files on fresh builds, opportunistically leaving the filesystem intact and not touching it. Hopefully this can help speed up local builds by doing fewer copies all over the place!
2017-09-10Auto merge of #44274 - Mark-Simulacrum:rustdoc-tests, r=alexcrichtonbors-4/+71
Test rustdoc. Also fixes the broken tests. r? @alexcrichton
2017-09-08Move the man directory to a subdirectoryest31-2/+1
There is no reason it should be in the top directory.
2017-09-06Rollup merge of #44354 - ↵Mark Simulacrum-0/+10
jakllsch:jakllsch-85453197-a0cc-43f6-8c55-7bce6c4a4ebf, r=Mark-Simulacrum bootstrap: openssl for NetBSD/sparc64 in extended build r? @Mark-Simulacrum
2017-09-06Rollup merge of #44353 - cuviper:install-rustc, r=Mark-SimulacrumMark Simulacrum-1/+1
Include rustc in the default `./x.py install` The default install used to include rustc, rust-std, and rust-docs, but the refactoring in commit 6b3413d825fa6 make rustc only default in extended builds. This commit makes rustc installed by default again.
2017-09-06Rollup merge of #44321 - ↵Mark Simulacrum-1/+4
jakllsch:jakllsch-4f2d6c87-2674-43e4-9c5f-2415136e6bdc, r=Mark-Simulacrum bootstrap: only include docs in extended distribution if enabled Fixes #44163
2017-09-06Rollup merge of #44218 - SimonSapin:commit-hash, r=alexcrichtonMark Simulacrum-0/+14
Add full git commit hash to release channel manifests The full hash is necessary to build the download URL for "alternate" compiler builds. This is a first step for https://github.com/rust-lang-nursery/rustup.rs/issues/1099.
2017-09-06Auto merge of #43975 - RalfJung:gcc, r=alexcrichtonbors-7/+9
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichton Fixes #43973
2017-09-05bootstrap: avoid m4 -B for NetBSD-built sparc64 OpenSSLJonathan A. Kollasch-0/+5
2017-09-05bootstrap: add openssl config for sparc64-unknown-netbsdJonathan A. Kollasch-0/+5
2017-09-05Include rustc in the default `./x.py install`Josh Stone-1/+1
The default install used to include rustc, rust-std, and rust-docs, but the refactoring in commit 6b3413d825fa6 make rustc only default in extended builds. This commit makes rustc installed by default again.
2017-09-05Test rustdoc unit tests.Mark Simulacrum-4/+71
Doc tests are temporarily disabled until next release cycle, since current beta Cargo errors on them. Upgrade should be smooth as the relevant tests are already fixed in this commit.
2017-09-05disable gcc warningsRalf Jung-2/+4
2017-09-04bootstrap: only include docs in extended distribution if enabledJonathan A. Kollasch-1/+4
Issue #44163
2017-09-04Only include git-commit-hash in tarballs when availableSimon Sapin-6/+9
… instead of writing an empty file.
2017-09-04Auto merge of #44268 - kennytm:fix-python-bootstrap-test, r=Mark-Simulacrumbors-6/+4
rustbuild: Remove invalid doctest from bootstrap.py