about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
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
2017-09-03Auto merge of #44176 - nrc:update-rls, r=alexcrichtonbors-0/+1
Update rls And expose the `CFG_VERSION` env var to tools so they can determine the version of Rust. This gets the RLS back on master and so completes the PR dance for the generators PR. r? @alexcrichton
2017-09-02update gcc crateRalf Jung-5/+5
Use gcc::Build rather than deprecated gcc::Config. Fixes #43973
2017-09-02Auto merge of #43886 - oli-obk:clippy, r=nrcbors-1/+39
Add clippy as a submodule ~~This builds clippy as part of `./x.py build` (locally and in CI).~~ This allows building clippy with `./x.py build src/tools/clippy` ~~Needs https://github.com/nrc/dev-tools-team/issues/18#issuecomment-322456461 to be resolved before it can be merged.~~ Contributers can simply open a PR to clippy and point the submodule at the `pull/$pr_number/head` branch. This does **not** build clippy or test the clippy test suite at all as per https://github.com/nrc/dev-tools-team/issues/18#issuecomment-321411418 r? @nrc cc @Manishearth @llogiq @mcarton @alexcrichton
2017-09-02Remove invalid doctest from bootstrap.py.kennytm-6/+4
Make sure that if the test is failed, the CI will stop the build.
2017-09-01Auto merge of #44154 - alexcrichton:bump-bootstrap, r=Mark-Simulacrumbors-2/+2
Bump to 1.22.0 and update boostrap compiler Time to get a new nightly!
2017-09-01Add git-commit-hash in source and extended tarballs too.Simon Sapin-0/+4
2017-08-31Rollup merge of #44203 - cuviper:compiler-rt-test, r=Mark-SimulacrumMark Simulacrum-1/+1
rustbuild: update the rust-src filter for compiler-rt We wanted `src/compiler-rt/test` filtered from the `rust-src` package, but that path is now `src/libcompiler_builtins/compiler-rt/test`. This saves over half of the installed rust-src size. (50MB -> 22MB)
2017-08-31Add full git commit hash to release channel manifestsSimon Sapin-0/+7
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-08-31Update Cargo to 0.23.0 and our lockfileAlex Crichton-1/+1
2017-08-31Bump to 1.22.0Alex Crichton-1/+1
2017-08-31Set CFG_VERSION env var for tool buildsNick Cameron-0/+1
2017-08-30rustbuild: update the rust-src filter for compiler-rtJosh Stone-1/+1
We wanted `src/compiler-rt/test` filtered from the `rust-src` package, but that path is now `src/libcompiler_builtins/compiler-rt/test`. This saves over half of the installed rust-src size. (50MB -> 22MB)
2017-08-30bootstrap: add openssl configuration mapping for i686-unknown-netbsdJonathan A. Kollasch-0/+1
2017-08-30Auto merge of #43895 - JeremySorensen:master, r=alexcrichtonbors-3/+13
make ignore-git true by default when channel is dev Fixes #43771 (Handle git info in rustbuild differently)
2017-08-29allow value of key/value pair argument to set option be booleanJeremy Sorensen-2/+8
2017-08-30Auto merge of #44143 - alexcrichton:faster-bootstrap, r=Mark-Simulacrumbors-6/+1
rustbuild: Avoid some extraneous rustc compiles on cross builds This tweaks a few locations here and there to avoid compiling rustc too many times on our cross-builders on CI. Closes https://github.com/rust-lang/rust/issues/44132
2017-08-29Rollup merge of #44144 - alexcrichton:faster-hash-and-sign, r=Mark-SimulacrumAriel Ben-Yehuda-1/+1
rustbuild: Fix dependencies of build-manifest No need to depend on librustc! All we need is libstd Closes #44140