about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-11 20:00:46 +0200
committerGitHub <noreply@github.com>2022-04-11 20:00:46 +0200
commit070e8ed18da9263f3b9aa0950accad7059778ab7 (patch)
tree642f922d0cdf8c1ae4bc60eac8595251da181860
parentec95e7d2a5d31f8394640d92dabdfeea9f26a472 (diff)
parentaeb3df76f66c4496b0fe4ed64ea86896c6bc8640 (diff)
downloadrust-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-xsrc/ci/pgo.sh6
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