Skip to content

Commit

Permalink
ci: enable PGO on x86-64-v4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
indygreg committed Jan 2, 2025
1 parent 9122def commit 56aa8ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci-targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,13 @@ linux:
- "3.14"
build_options:
- debug
- noopt
- lto
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+noopt
- freethreaded+lto
- freethreaded+pgo+lto
minimum-python-version: "3.13"
run: true

x86_64-unknown-linux-musl:
arch: x86_64
Expand Down Expand Up @@ -288,6 +287,7 @@ linux:
- debug
- noopt
- lto
run: true

windows:
i686-pc-windows-msvc:
Expand Down

0 comments on commit 56aa8ba

Please sign in to comment.