about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-13 12:11:47 +0000
committerbors <bors@rust-lang.org>2020-10-13 12:11:47 +0000
commitd772879df35b8ce28e9533676b277ec43a73e6eb (patch)
tree2bde1a6f7ba5c94fb88cd2199e7bbb1187ff73a7 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent2d6eccdb67aef48d0804cb473536b925f61a7f18 (diff)
parent0b7ee9d522242d6320d1066d3ba9d2314a576e8b (diff)
downloadrust-d772879df35b8ce28e9533676b277ec43a73e6eb.tar.gz
rust-d772879df35b8ce28e9533676b277ec43a73e6eb.zip
Auto merge of #77762 - pietroalbini:dist-build-manifest, r=Mark-Simulacrum
Dist build manifest

This PR makes two changes that should remove a significant chunk of the time spent in our release process: cloning the `rust-lang/rust` monorepo, all its submodules, and building `bootstrap` to then invoke `build-manifest`:

* `build-manifest` doesn't rely on a clone of the monorepo being present anymore. The only remaining bit of information it fetched from it (the Rust version) is instead bundled in the binary.
* A new "component" is added, `build-manifest`. That component includes a prebuilt version of the tool, and it's *not* included in the Rustup manifest. This will allow `promote-release` to directly invoke the tool without interacting with our build system.
* The Linux x86_64 CI is changed to also build the component mentioned above. It's the only CI builder tasked to do so, and to cleanly support this a new `--include-default-paths` flag was added to `./x.py`.
* The `BUILD_MANIFEST_NUM_THREADS` environment variable is added to configure the number of threads at runtime.

This PR is best reviewed commit-by-commit.
r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions