about summary refs log tree commit diff
path: root/src/bootstrap/builder.rs
AgeCommit message (Collapse)AuthorLines
2018-02-10Implement excluding a build-step via --excludeMark Simulacrum-5/+26
2018-02-11Rollup merge of #48120 - matthiaskrgr:typos_src_1, r=alexcrichtonkennytm-1/+1
fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}} via codespell
2018-02-10fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}}Matthias Krüger-1/+1
2018-02-10Rollup merge of #48059 - alexcrichton:sccachebs, r=Mark-Simulacrumkennytm-5/+22
rustbuild: Pass `ccache` to build scripts Right now the ccache setting is only used for LLVM, but this tweaks it to also be used for build scripts so C++ builds like `librustc_llvm` can be a bit speedier.
2018-02-08rustbuild: Pass `ccache` to build scriptsAlex Crichton-5/+22
Right now the ccache setting is only used for LLVM, but this tweaks it to also be used for build scripts so C++ builds like `librustc_llvm` can be a bit speedier.
2018-02-08Add tests for themesGuillaume Gomez-1/+1
2018-02-03Disable ThinLTO for dist builds.Mark Simulacrum-6/+15
Dist builds should always be as fast as we can make them, and since those run on CI we don't care quite as much for the build being somewhat slower. As such, we don't automatically enable ThinLTO on builds for the dist builders.
2018-01-31rustc: Move location of `codegen-backends` dirAlex Crichton-0/+5
Right now this directory is located under: $sysroot/lib/rustlib/$target/lib/codegen-backends but after seeing what we do in a few other places it seems that a more appropriate location would be: $sysroot/lib/rustlib/$target/codegen-backends so this commit moves it!
2018-01-29Add per-stage RUSTFLAGS: RUSTFLAGS_STAGE_{0,1,2} and RUSTFLAGS_STAGE_NOT_0Mark Simulacrum-0/+12
Fixes #47658.
2018-01-23Add ./x.py check src/{libstd,libtest,rustc}.Mark Simulacrum-10/+13
This currently only supports a limited subset of the full compilation, but is likely 90% of what people will want and is possible without building a full compiler (i.e., running LLVM). In theory, this means that contributors who don't want to build LLVM now have an easy way to compile locally, though running tests won't work.
2018-01-18Auto merge of #47528 - GuillaumeGomez:rollup, r=GuillaumeGomezbors-2/+5
Rollup of 6 pull requests - Successful merges: #47250, #47313, #47398, #47468, #47471, #47520 - Failed merges:
2018-01-17Update Cargo and its dependenciesAlex Crichton-0/+33
This'll probably have a bunch of build errors, so let's try and head those off and find them sooner rather than later!
2018-01-17Rollup merge of #47250 - GuillaumeGomez:test-rustdoc-js, r=Mark-SimulacrumGuillaume Gomez-2/+5
Test rustdoc js Add tests for the rustdoc search. It was heavily required because of all the recent breaking changes that happened while I went through improvements in doc search (add search in/for generic search for example).
2018-01-15Auto merge of #46196 - projektir:rbe-submodule, r=steveklabnikbors-1/+1
Adding RBE as a submodule #46194 Adding RBE as a submodule to start issue #46194.
2018-01-13Adding RBE as a submodule #46194projektir-1/+1
2018-01-12End of rustdoc-js tool add into builderGuillaume Gomez-1/+2
2018-01-12Move forward to add rustdoc testGuillaume Gomez-1/+3
2018-01-12Remove unused configuration parameter `libdir_relative`.O01eg-2/+2
2018-01-12Add library path for real rustdoc with `RUSTDOC_LIBDIR` environment variable.O01eg-1/+4
2018-01-12Stage 1 and later use relative libdir.O01eg-1/+1
2018-01-04rustc: Don't use relative paths for extended errorsAlex Crichton-2/+2
These no longer work now that Cargo changes the cwd of rustc while it's running. Instead use an absolute path that's set by rustbuild.
2018-01-04Bump to 1.25.0Alex Crichton-1/+2
* Bump the release version to 1.25 * Bump the bootstrap compiler to the recent beta * Allow using unstable rustdoc features on beta - this fix has been applied to the beta branch but needed to go to the master branch as well.
2017-12-14Do not produce debuginfo for toolsOliver Schneider-2/+5
2017-12-06Update miri to rustc changesOliver Schneider-28/+67
2017-09-23Remove leftoverbjorn3-6/+0
2017-09-23Move NoLlvmMetadataLoader to rustc_trans_traitsbjorn3-0/+3
2017-09-23Dont do no-trans for llvm enabled buildsbjorn3-0/+6
2017-09-23Allow building stage 2 compiler librariesbjorn3-1/+1
2017-09-19Add clippy to `toolstate.toml`Oliver Schneider-1/+1
2017-09-18Auto merge of #43628 - oli-obk:orbital_standard_library, r=alexcrichtonbors-3/+4
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-17Prevent distribution if miri is enabledOliver Schneider-1/+1
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-2/+3
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-13Build and test RustfmtNick Cameron-2/+2
2017-09-05Test rustdoc unit tests.Mark Simulacrum-3/+3
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-02Auto merge of #43886 - oli-obk:clippy, r=nrcbors-1/+1
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-08-22Introduce crt_static target option in config.tomlSamuel Holland-0/+4
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-16Implement a temp redirect for cargo docsCarol (Nichols || Goulding)-1/+1
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-5/+5
Like #43008 (f668999), but _much more aggressive_.
2017-08-15Add clippy as a submoduleOliver Schneider-1/+1
2017-08-15Auto merge of #43863 - steveklabnik:ship-the-rustdoc-book, r=frewsxcvbors-1/+1
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/+1
2017-08-13Rollup merge of #43814 - Eijebong:fix_typos2, r=petrochenkovGuillaume Gomez-2/+2
Fix some typos Follow up of #43794 If refined my script a little bit and found some more.
2017-08-13Correct code to not run host-only tests.Mark Simulacrum-3/+1
2017-08-13Build rustdoc only at the top stageMark Simulacrum-11/+8
2017-08-13Unify flags into config.Mark Simulacrum-19/+12
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-2/+2
2017-08-08pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuildSébastien Marie-1/+1
suggestion from Mark-Simulacrum
2017-07-29rustbuild: Enable building LLVMAlex Crichton-1/+3
I use this from time to time debugging LLVM builds, useful to have!