summary refs log tree commit diff
path: root/src/bootstrap/dist.rs
AgeCommit message (Collapse)AuthorLines
2017-01-06rustbuild: Fix source tarballs and the vendor dirAlex Crichton-0/+7
The source tarball creation step would attempt to skip a number of files that we want to ignore ourselves, but once we've hit the vendor directory we don't want to skip anything so be sure to vendor everything inside that directory. Closes #38690
2016-12-17rustbuild: Create directories in mingw distAlex Crichton-0/+1
Previously we accidentally relied on the mingw dist step running last, but the step just needed to ensure the directories were created.
2016-12-13rustbuild: Don't dist docs if disabledAlex Crichton-0/+5
This commit skips the `docs` dist step if the `--disable-docs` flag is passed, fixing a compile error seen on nightly.
2016-12-13rustbuild: Skip some more non-relevant dist stepsAlex Crichton-1/+14
This commit skips a few more dist tragets during compilation which shouldn't be necessary. * First, when packaging std we only take action when the host target is the build target. Otherwise we package the same artifacts a number of times, which shouldn't be necessary. * Next, we apply the same logic to the save-analysis build. This is actually required for correctness as the build compiler is the only one which actually has save analysis information. This should fix an error seen on nightlies.
2016-12-12rustbuild: Fix dist of save-analysis infoAlex Crichton-8/+1
We don't need an extra bare tarball, the save-analysis info is already produced with a version/target in the filename.
2016-12-12rustbuild: Check for .git as a dirAlex Crichton-1/+1
Git worktrees have this as a file and typically won't work inside docker containers, but that's ok, so instead of just checking for existence check for a directory to see if the git commands will succeed.
2016-12-09Create tar balls of save-analysis-api metadata for the standard libraries as ↵Nick Cameron-1/+45
part of `make dist`.
2016-12-08rustbuild: Implement distcheckAlex Crichton-1/+6
This commit implements the `distcheck` target for rustbuild which is only ever run on our nightly bots. This essentially just creates a tarball, un-tars it, and then runs a full build, validating that the release tarballs do indeed have everything they need to build Rust.
2016-11-14rustbuild: Allow configuration of python interpreterAlex Crichton-2/+2
Add a configuration key to `config.toml`, read it from `./configure`, and add auto-detection if none of those were specified. Closes #35760
2016-10-08rustbuild: Optimize build times slightlyAlex Crichton-42/+23
As the entry point for building the Rust compiler, a good user experience hinges on this compiling quickly to get to the meat of the problem. To that end use `#[cfg]`-specific dependencies to avoid building Windows crates on Unix and drop the `regex` crate for now which was easily replacable with some string searching.
2016-10-05Install docs, std and rustc using results from dist.Ahmed Charles-3/+3
2016-09-03Add rustc version info (git hash + date) to dist tarballJoseph Dunne-0/+8
fixes #32444
2016-08-12Produce source package in rust-installer format in addition to vanilla tarballDiggory Blake-1/+115
Copy source files from rust code Add missing wildcard Remove unused function Remove use of tar --transform
2016-07-05rustbuild: Remove the `build` directoryAlex Crichton-0/+319
The organization in rustbuild was a little odd at the moment where the `lib.rs` was quite small but the binary `main.rs` was much larger. Unfortunately as well there was a `build/` directory with the implementation of the build system, but this directory was ignored by GitHub on the file-search prompt which was a little annoying. This commit reorganizes rustbuild slightly where all the library files (the build system) is located directly inside of `src/bootstrap` and all the binaries now live in `src/bootstrap/bin` (they're small). Hopefully this should allow GitHub to index and allow navigating all the files while maintaining a relatively similar layout to the other libraries in `src/`.