summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2017-09-28update prerelease versionNiko Matsakis-1/+1
2017-09-24ci: 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-14Bump beta to .3Alex Crichton-1/+1
2017-09-14Attempt to fix the component manifest problem for rls-previewNick Cameron-4/+13
cc #44270
2017-09-14Include 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-01Bump beta to .2Alex Crichton-1/+1
2017-09-01rustbuild: Fix dependencies of build-manifestAlex Crichton-1/+1
No need to depend on librustc! All we need is libstd Closes #44140
2017-09-01bootstrap: remove unneeded extern crateTatsuyuki Ishi-1/+0
The crate itself is internally referenced by serde_derive.
2017-08-30Revert "Remove all packaging support for the RLS"Nick Cameron-3/+53
This reverts commit ccb7c55ac7a9941b6a4d23f0aaf7034aad0dba42.
2017-08-28Remove all packaging support for the RLSAlex Crichton-53/+3
2017-08-25rustbuild: Automatically enable Ninja on MSVCAlex Crichton-4/+21
Discovered in #43767 it turns out the default MSBuild generator in CMake for whatever reason isn't supporting many of the configuration options we give to LLVM. To improve the contributor experience automatically enable Ninja if we find it to ensure that "flavorful" configurations of LLVM work by default in more situations. Closes #43767
2017-08-22Inline crt-static choice for pc-windows-msvcSamuel Holland-7/+6
This avoids the possibility of a duplicate or conflicting crt-static command line option sent to rustc.
2017-08-22Introduce crt_static target option in config.tomlSamuel Holland-0/+22
This controls the value of the crt-static feature used when building the standard library for a target, as well as the compiler itself when that target is the host.
2017-08-22Copy musl startup objects before building stdSamuel Holland-16/+27
They are required for linking it, even though it is a library, because crtn.o in post_link_objects, as hardcoded in src/librustc_back/target/ linux_musl_base.rs, is added to the linker command line for both executables and libraries.
2017-08-22Infer a default musl_root for native buildsSamuel Holland-1/+8
2017-08-22Improve explanation of musl_rootSamuel Holland-1/+4
2017-08-21Update rustbuild READMEMark Simulacrum-16/+20
2017-08-17Rollup merge of #43916 - integer32llc:cargo-docs-redirect, r=alexcrichtonCorey Farwell-1/+46
Implement a temp redirect for cargo docs As discussed in https://github.com/rust-lang/cargo/issues/4040#issuecomment-321639074 This is a redirect meant to be replaced once cargo docs have been converted to mdbook. We just want *a* URL to ride the trains for now so that we can print doc.rust-lang.org/cargo in the paper book and guarantee that it will go *somewhere* useful by the time the book is printed. Implemented as a meta redirect in HTML because we don't currently have any google juice at doc.rust-lang.org/cargo to lose. When I run `./x.py doc`, this creates a `build/x86_64-apple-darwin/doc/cargo/index.html` file that contains a meta redirect to doc.crates.io. As I understand rust-central-station to work, this should be what we need to make `doc.rust-lang.org/cargo` to work. r? @alexcrichton and/or @steveklabnik
2017-08-17Rollup merge of #43891 - Fourchaux:master, r=steveklabnikCorey Farwell-2/+2
Fix typos & us spellings Fixing some typos and non en-US spellings. (Update of PR https://github.com/rust-lang/rust/pull/42812 )
2017-08-16Implement a temp redirect for cargo docsCarol (Nichols || Goulding)-1/+46
As discussed in https://github.com/rust-lang/cargo/issues/4040#issuecomment-321639074 This is a redirect meant to be replaced once cargo docs have been converted to mdbook. We just want *a* URL to ride the trains for now so that we can print doc.rust-lang.org/cargo in the paper book and guarantee that it will go *somewhere* useful by the time the book is printed. Implemented as a meta redirect in HTML because we don't currently have any google juice at doc.rust-lang.org/cargo to lose.
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-36/+36
Like #43008 (f668999), but _much more aggressive_.
2017-08-15Fix typos & us spellingsFourchaux-2/+2
2017-08-15Auto merge of #43863 - steveklabnik:ship-the-rustdoc-book, r=frewsxcvbors-1/+2
Ship the rustdoc book Fixes #42322, as it's the last step. Blocked on https://github.com/rust-lang/rust/pull/43790, though they will not conflict. r? @rust-lang/docs
2017-08-14start building the rustdoc booksteveklabnik-1/+2
2017-08-14Auto merge of #43842 - bjorn3:no_llvm_cleanup, r=alexcrichtonbors-17/+26
Cleanup for "Support compiling rustc without LLVM (try 2)" This includes a small patch to allow running tests without llvm. Also check if you are not trying to compile a dylib. cc #42932 r? @alexcrichton
2017-08-13Change run-make ignore messagebjorn3-1/+1
2017-08-13Remove some more cfg'sbjorn3-17/+26
2017-08-13Rollup merge of #43814 - Eijebong:fix_typos2, r=petrochenkovGuillaume Gomez-3/+3
Fix some typos Follow up of #43794 If refined my script a little bit and found some more.
2017-08-13Build rustdoc with the native build tripleMark Simulacrum-1/+1
2017-08-13Cargotest needs only one rustdoc.exe to exist on WindowsMark Simulacrum-1/+4
2017-08-13Correct code to not run host-only tests.Mark Simulacrum-3/+7
2017-08-13Clean tools after building libstd/libtest/librustc.Mark Simulacrum-6/+21
This fixes the bug we previously had where we'd build a libtest tool after building a libstd tool and clear out the libstd tool. Since we clear out all tools for a given stage on invocations of CleanTools after lib{std, test, rustc} change, we need to make sure that all tools built with that stage will be built after the clearing is done. The fix contained here technically isn't perfect; there is still an edge case of compiling a libstd tool, then compiling libtest, which will clear out the libstd tool and it won't ever get rebuilt within that session of rustbuild. This is where the caching system used today shows it's problems -- in effect, all tools depend on a global counter of the stage being cleared out. We can implement such a counter in a future patch to ensure that tools are rebuilt as needed, but it is deemed unlikely that it will be required in practice, since most if not all tools are built after the relevant stage's std/test/rustc are built, though this is only an opinion and hasn't been verified.
2017-08-13Build rustdoc only at the top stageMark Simulacrum-25/+21
2017-08-13Build rustdoc with the stageN compiler in N >= 2.Mark Simulacrum-0/+4
This permits proc macro crates to correctly work with rustdoc.
2017-08-13Make the message for building rustdoc slightly nicerMark Simulacrum-32/+48
2017-08-13Add ability to ignore git when building rust.Mark Simulacrum-6/+11
Some users of the build system change the git sha on every build due to utilizing git to push changes to a remote server. This allows them to simply configure that away instead of depending on custom patches to rustbuild.
2017-08-13Allow overriding build triple via flag.Mark Simulacrum-5/+7
We first check the configuration, then passed parameters (--build), then fall back to the auto-detection that bootstrap.py does. Fixes #39673.
2017-08-13Allow specifiying targets and hosts not in the config file.Mark Simulacrum-10/+0
We no longer care about the source of this information, so there is no reason to restrict users.
2017-08-13Unify flags into config.Mark Simulacrum-117/+126
This introduces a slight change in behavior, where we unilaterally respect the --host and --target parameters passed for all sanity checking and runtime configuration.
2017-08-12Fix some typosBastien Orivel-3/+3
2017-08-11Move config.toml.example to the root dirSteven Fackler-334/+2
It's way more discoverable here.
2017-08-11Build support for no llvmbjorn3-0/+17
2017-08-08pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuildSébastien Marie-1/+1
suggestion from Mark-Simulacrum
2017-08-04Auto merge of #43577 - cuviper:link-llvm-dylib, r=sanxiynbors-0/+9
Link LLVM tools dynamically Set `LLVM_LINK_LLVM_DYLIB=ON` -- "If enabled, tools will be linked with the libLLVM shared library." Rust doesn't ship any of the LLVM tools, and only needs a few at all for some test cases, so statically linking the tools is just a waste of space. I've also had memory issues on slower machines with LLVM debuginfo enabled, when several tools start linking in parallel consuming several GBs each. With the default configuration, `build/x86_64-unknown-linux-gnu/llvm` was 1.5GB before, now down to 731MB. The difference is more drastic with `--enable-llvm-release-debuginfo`, from 28GB to "only" 13GB. This does not change the linking behavior of `rustc_llvm`.
2017-08-04Use LLVM_LINK_LLVM_DYLIB only on linux-gnu and apple-darwinJosh Stone-2/+2
2017-08-03Exclude Windows from LLVM_LINK_LLVM_DYLIBJosh Stone-1/+9
2017-08-03Auto merge of #43622 - RalfJung:config.toml, r=michaelwoeristerbors-1/+1
extend config.toml doc for debug-assertions Even after I knew that I had to change config.toml to get any printing from debug! and trace!, going over the entire fail did not make it clear to me that `debug-assertions` is the option controlling that.
2017-08-03Appease tidy and fix save-analysis config for dist buildsNick Cameron-1/+1
2017-08-02extend config.toml docRalf Jung-1/+1
2017-07-31Link LLVM tools dynamicallyJosh Stone-0/+1
Set `LLVM_LINK_LLVM_DYLIB=ON` -- "If enabled, tools will be linked with the libLLVM shared library." Rust doesn't ship any of the LLVM tools, and only needs a few at all for some test cases, so statically linking the tools is just a waste of space. I've also had memory issues on slower machines with LLVM debuginfo enabled, when several tools start linking in parallel consuming several GBs each. With the default configuration, `build/x86_64-unknown-linux-gnu/llvm` was 1.5GB before, now down to 731MB. The difference is more drastic with `--enable-llvm-release-debuginfo`, from 28GB to "only" 13GB. This does not change the linking behavior of `rustc_llvm`.