From aeb3df76f66c4496b0fe4ed64ea86896c6bc8640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Mon, 11 Apr 2022 10:05:05 +0200 Subject: [PATCH] CI: do not compile libcore twice when performing LLVM PGO --- src/ci/pgo.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ci/pgo.sh b/src/ci/pgo.sh index 689e6a11d6110..691d1282cf499 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