Skip to content

Commit 633e004

Browse files
authored
Rollup merge of rust-lang#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``
2 parents c641fed + aeb3df7 commit 633e004

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/ci/pgo.sh

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ python3 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
4747
--stage 2 library/std \
4848
--llvm-profile-generate
4949

50-
# Profile libcore compilation in opt-level=0 and opt-level=3
51-
RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc \
52-
--edition=2021 --crate-type=lib ../library/core/src/lib.rs
53-
RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc \
54-
--edition=2021 --crate-type=lib -Copt-level=3 ../library/core/src/lib.rs
55-
5650
# Compile rustc perf
5751
cp -r /tmp/rustc-perf ./
5852
chown -R $(whoami): ./rustc-perf

0 commit comments

Comments
 (0)