Skip to content

Commit 5b77cb4

Browse files
committed
Port pgo.sh to Python
1 parent 44a500c commit 5b77cb4

File tree

4 files changed

+666
-3
lines changed

4 files changed

+666
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ jobs:
439439
- name: dist-x86_64-msvc
440440
env:
441441
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 --set rust.lto=thin"
442-
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc src/ci/pgo.sh python x.py dist bootstrap --include-default-paths
442+
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
443443
DIST_REQUIRE_ALL_TOOLS: 1
444444
os: windows-latest-xl
445445
- name: dist-i686-msvc

src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ ENV RUST_CONFIGURE_ARGS \
8181
--set rust.jemalloc \
8282
--set rust.use-lld=true \
8383
--set rust.lto=thin
84-
ENV SCRIPT ../src/ci/pgo.sh python3 ../x.py dist \
84+
ENV SCRIPT python3 ../src/ci/stage-build.py python3 ../x.py dist \
8585
--host $HOSTS --target $HOSTS \
8686
--include-default-paths \
8787
build-manifest bootstrap

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ jobs:
676676
--enable-full-tools
677677
--enable-profiler
678678
--set rust.lto=thin
679-
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc src/ci/pgo.sh python x.py dist bootstrap --include-default-paths
679+
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
680680
DIST_REQUIRE_ALL_TOOLS: 1
681681
<<: *job-windows-xl
682682

0 commit comments

Comments
 (0)