diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-11 20:00:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-11 20:00:46 +0200 |
| commit | 070e8ed18da9263f3b9aa0950accad7059778ab7 (patch) | |
| tree | 642f922d0cdf8c1ae4bc60eac8595251da181860 | |
| parent | ec95e7d2a5d31f8394640d92dabdfeea9f26a472 (diff) | |
| parent | aeb3df76f66c4496b0fe4ed64ea86896c6bc8640 (diff) | |
| download | rust-070e8ed18da9263f3b9aa0950accad7059778ab7.tar.gz rust-070e8ed18da9263f3b9aa0950accad7059778ab7.zip | |
Rollup merge of #95927 - Kobzol:ci-pgo-libcore, r=lqd
CI: do not compile libcore twice when performing LLVM PGO I forgot the delete the first compilation when modifying this file in a previous PR. r? ```@lqd```
| -rwxr-xr-x | src/ci/pgo.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ci/pgo.sh b/src/ci/pgo.sh index 689e6a11d61..691d1282cf4 100755 --- a/src/ci/pgo.sh +++ b/src/ci/pgo.sh @@ -47,12 +47,6 @@ python3 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \ --stage 2 library/std \ --llvm-profile-generate -# Profile libcore compilation in opt-level=0 and opt-level=3 -RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc \ - --edition=2021 --crate-type=lib ../library/core/src/lib.rs -RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc \ - --edition=2021 --crate-type=lib -Copt-level=3 ../library/core/src/lib.rs - # Compile rustc perf cp -r /tmp/rustc-perf ./ chown -R $(whoami): ./rustc-perf |
