summary refs log tree commit diff
path: root/src/bootstrap/dist.rs
AgeCommit message (Collapse)AuthorLines
2017-09-14Attempt to fix the component manifest problem for rls-previewNick Cameron-4/+13
cc #44270
2017-08-30Revert "Remove all packaging support for the RLS"Nick Cameron-1/+49
This reverts commit ccb7c55ac7a9941b6a4d23f0aaf7034aad0dba42.
2017-08-28Remove all packaging support for the RLSAlex Crichton-49/+1
2017-08-13Build rustdoc only at the top stageMark Simulacrum-2/+1
2017-08-13Unify flags into config.Mark Simulacrum-1/+1
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-07-27Build rustdoc on-demand.Mark Simulacrum-0/+3
Rustdoc is no longer compiled in every stage, alongside rustc, instead it is only compiled when requested, and generally only for the last stage.
2017-07-27Change tools to take a compiler instead of a stage.Mark Simulacrum-2/+8
2017-07-24Make dist equivalent to old build system.Mark Simulacrum-85/+77
2017-07-22Make distcheck work again.Mark Simulacrum-1/+2
2017-07-20Change make_run signature to taking a RunConfig struct for refactorability.Mark Simulacrum-68/+41
2017-07-20Add an optional condition to constrain defaults.Mark Simulacrum-13/+6
Utilized primarily to not be a default rule unless some configuration is given (e.g., compiler docs are enabled).
2017-07-20Remove step.rs commentsMark Simulacrum-110/+0
2017-07-20Implement available paths list.Mark Simulacrum-25/+25
2017-07-20Utilize interning to allow Copy/Clone stepsMark Simulacrum-84/+104
2017-07-20Remove core_intrinsics feature gateMark Simulacrum-0/+12
2017-07-20Cleanups and fixes throughoutMark Simulacrum-109/+90
2017-07-20Fix a few errors introduced during rebase.Mark Simulacrum-23/+70
2017-07-20Finish fixing warnings and errors. Bootstrap builds.Mark Simulacrum-1/+1
2017-07-20Fixes warnings and errors introduced while moving code aroundMark Simulacrum-33/+36
2017-07-20Change code to work with the new systemMark Simulacrum-12/+185
2017-07-20Move code into Step trait implementations.Mark Simulacrum-821/+944
No changes are introduced to code body. This commit will not build; it is done to permit a better diff in later commits.
2017-07-20Move rule configs out of stepMark Simulacrum-0/+102
2017-07-07Fix stage 2 builds with a custom libdir.Matthew Dawson-2/+3
When copying libstd for the stage 2 compiler, the builder ignores the configured libdir/libdir_relative configuration parameters. This causes the compiler to fail to find libstd, which cause any tools built with the stage 2 compiler to fail. To fix this, make the copy steps of rustbuild aware of the libdir_relative parameter when the stage >= 2. Also update the dist target to be aware of the new location of libstd.
2017-07-06Auto merge of #42899 - alexcrichton:compiler-builtins, r=nikomatsakisbors-1/+1
Switch to rust-lang-nursery/compiler-builtins This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-05Switch to rust-lang-nursery/compiler-builtinsAlex Crichton-1/+1
This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-04Use build.build instead of build.config.buildMark Simulacrum-7/+7
2017-07-04Remove src_is_git, instead call method on rust_info directly.Mark Simulacrum-1/+1
2017-07-04Clarify meaning of Build.cargo, Build.rustc.Mark Simulacrum-4/+4
Rename Build.{cargo, rustc} to {initial_cargo, initial_rustc}.
2017-07-04Clippy lintsMark Simulacrum-6/+5
2017-07-04Cleanup distMark Simulacrum-21/+11
2017-06-20Switch to the crates.io `getopts` crateAlex Crichton-1/+0
This commit deletes the in-tree `getopts` crate in favor of the crates.io-based `getopts` crate. The main difference here is with a new builder-style API, but otherwise everything else remains relatively standard.
2017-06-17Reintroduce deprecated `collections` crateMurarth-0/+1
2017-06-15Auto merge of #42648 - murarth:merge-alloc-collections, r=alexcrichtonbors-2/+1
Merge crate `collections` into `alloc` This is a necessary step in order to merge #42565
2017-06-13Merge crate `collections` into `alloc`Murarth-2/+1
2017-06-13Add libprofiler_builtins to the list of paths for the rust-src componentMarco Castelluccio-0/+1
2017-06-01Rollup merge of #42306 - efyang:rls-packaging, r=alexcrichtonCorey Farwell-0/+46
Add the RLS to .exe, .msi, and .pkg installers This directly addresses issue #42157, adding the RLS as a non-default component in the mentioned installers. The windows installers appear to have the right functionality added, but I don't have a machine that runs OSX, so it would be great if someone could test whether my .pkg commit adds the RLS correctly. The final commit also fixes some formatting issues I'd noticed while working on the installers, but I don't know if that's within the scope of this PR, so input would be appreciated.
2017-05-29Add RLS to .pkg installerEdward Yang-0/+10
2017-05-29Add RLS to .exe and .msi installersEdward Yang-0/+36
2017-05-28rust-src: include everything needed to compile libstd with jemallocRalf Jung-6/+21
2017-05-27Auto merge of #42109 - Keruspe:master, r=alexcrichtonbors-91/+91
rustbuild: don't create a source tarball when installing This splits Install out of Dist as it is not a full dist anymore, and creates the source tarball only for the Dist command. This will allow splitting install in a few rules if we want as it's done for other phases.
2017-05-25Auto merge of #41932 - wesleywiser:py-to-rust, r=alexcrichtonbors-17/+137
Rewrite make-win-dist.py in Rust Fixes #41568
2017-05-22Create the bin dirWesley Wiser-0/+1
2017-05-22rustbuild: split Install out of Dist subcommandMarc-Antoine Perennou-91/+91
only create source tarball for the Dist subcommand mark install rule as default for Kind::Install split install-docs split install-std factor out empty_dir handling split install-cargo split install-analysis split install-src rework install-rustc properly handle cross-compilation setups for install use pkgname in install split plain source tarball generation from rust-src dist document src-tarball in config.toml.exmaple Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-05-16rustbuild: fix bash completion installation dirMarc-Antoine Perennou-2/+2
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-05-14Don't use sanitize_sh with rust-installerJosh Stone-41/+40
There's no shell interpreting the file paths under the new Rusty rust-installer, so we don't need to use `sanitize_sh` for it. Plus, the drive-letter transformation is actually harmful for the now-native Windows rust-installer to understand those paths.
2017-05-14Use "rust-installer tarball" to create rustc-src tooJosh Stone-4/+8
This gives us an extra rustc-src.tar.xz, which is 33% smaller than the .tar.gz!
2017-05-14Update to the oxidized rust-installerJosh Stone-24/+22
2017-05-14Rewrite make-win-dist.py in RustWesley Wiser-17/+136
Fixes #41568
2017-04-29Rollup merge of #41608 - cuviper:distcheck-rust-src, r=alexcrichtonCorey Farwell-0/+7
Add a distcheck for rust-src completeness This is for the last commit of #41546. For some reason, @bors only saw the first two commits, and wouldn't approve the last even when explicitly directed so. r? @alexcrichton
2017-04-29Update stage0 bootstrap compilerAlex Crichton-4/+2
We've got a freshly minted beta compiler, let's update to use that on nightly! This has a few other changes associated with it as well * A bump to the rustc version number (to 1.19.0) * Movement of the `cargo` and `rls` submodules to their "proper" location in `src/tools/{cargo,rls}`. Now that Cargo workspaces support the `exclude` option this can work. * Updates of the `cargo` and `rls` submodules to their master branches. * Tweak to the `src/stage0.txt` format to be more amenable for Cargo version numbers. On the beta channel Cargo will bootstrap from a different version than rustc (e.g. the version numbers are different), so we need different configuration for this. * Addition of `dev` as a readable key in the `src/stage0.txt` format. If present then stage0 compilers are downloaded from `dev-static.rust-lang.org` instead of `static.rust-lang.org`. This is added to accomodate our updated release process with Travis and AppVeyor.