Skip to content

Commit cf6c1f9

Browse files
committed
enable PGO on x64-darwin
1 parent 47a2e29 commit cf6c1f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ jobs:
313313
os: ubuntu-20.04-xl
314314
- name: dist-x86_64-apple
315315
env:
316-
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
316+
SCRIPT: PGO_HOST=x86_64-apple-darwin python3 src/ci/stage-build.py python3 x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
317317
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
318318
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
319319
MACOSX_DEPLOYMENT_TARGET: 10.7

src/ci/github-actions/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ jobs:
478478

479479
- name: dist-x86_64-apple
480480
env:
481-
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
481+
SCRIPT: PGO_HOST=x86_64-apple-darwin python3 src/ci/stage-build.py python3 x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
482482
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
483483
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
484484
MACOSX_DEPLOYMENT_TARGET: 10.7

0 commit comments

Comments
 (0)