about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2022-04-11 10:05:05 +0200
committerJakub Beránek <berykubik@gmail.com>2022-04-11 10:05:05 +0200
commitaeb3df76f66c4496b0fe4ed64ea86896c6bc8640 (patch)
treefaeecec05756ce7a15b19425b16ba48861c9382b
parent48a9e104dfafdec3a5d00d365229d6369939f433 (diff)
downloadrust-aeb3df76f66c4496b0fe4ed64ea86896c6bc8640.tar.gz
rust-aeb3df76f66c4496b0fe4ed64ea86896c6bc8640.zip
CI: do not compile libcore twice when performing LLVM PGO
-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