Skip to content

Commit aeb3df7

Browse files
committed
CI: do not compile libcore twice when performing LLVM PGO
1 parent 48a9e10 commit aeb3df7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: 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)