Skip to content

Commit 91d2fb2

Browse files
committed
Port PGO/LTO/BOLT optimized build pipeline to Rust
1 parent 03247fb commit 91d2fb2

File tree

29 files changed

+1802
-1140
lines changed

29 files changed

+1802
-1140
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ jobs:
408408
- name: dist-x86_64-msvc
409409
env:
410410
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler"
411-
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
411+
SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist python x.py dist bootstrap --include-default-paths
412412
DIST_REQUIRE_ALL_TOOLS: 1
413413
os: windows-2019-8core-32gb
414414
- name: dist-i686-msvc

0 commit comments

Comments
 (0)