Skip to content

Commit 2b45a4d

Browse files
authored
ci: enable PGO on x86-64-v4 (#467)
The GitHub Actions x86-64 runners are using ancient Azure instances that lack AVX-512. As a result we can't run x86-64-v4 binaries. As a result we can't perform PGO/BOLT nor run tests using the built interpreter. We recently adopted custom runners. Whatever hardware they are using under the hood appears to support AVX-512 and therefore the x86-64-v4 instruction set. So we're able to enable PGO and running tests. This will theoretically deliver performance wins for the x86-64-v4 builds. But I haven't performed comprehensive testing.
1 parent 9122def commit 2b45a4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci-targets.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,13 @@ linux:
218218
- "3.14"
219219
build_options:
220220
- debug
221-
- noopt
222-
- lto
221+
- pgo+lto
223222
build_options_conditional:
224223
- options:
225224
- freethreaded+debug
226-
- freethreaded+noopt
227-
- freethreaded+lto
225+
- freethreaded+pgo+lto
228226
minimum-python-version: "3.13"
227+
run: true
229228

230229
x86_64-unknown-linux-musl:
231230
arch: x86_64
@@ -288,6 +287,7 @@ linux:
288287
- debug
289288
- noopt
290289
- lto
290+
run: true
291291

292292
windows:
293293
i686-pc-windows-msvc:

0 commit comments

Comments
 (0)