22
33This document describes how to set up machines to serve as self-hosted runners for ` bench_runner ` .
44
5+ The Python interpreter running ` bench_runner ` must be Python 3.11 or later.
6+ The generated Linux x86-64 benchmark jobs and pystats jobs request Python 3.15
7+ through ` actions/setup-python ` . Other benchmark jobs use ` python ` on Linux,
8+ ` python3 ` on macOS, or ` py ` on Windows; these commands must select a supported
9+ interpreter for the runner service account.
10+
511These instructions are only a WFM™ rough guide: This is the sort of information that gets out of date rather quickly.
612
713While cloud VMs will * work* , we highly recommend using bare metal machines for the most stable results.
@@ -19,7 +25,9 @@ sudo apt install python3 build-essential ccache gdb lcov pkg-config \
1925 lzma lzma-dev tk-dev uuid-dev zlib1g-dev linux-perf
2026```
2127
22- The self-hosted runner needs to have ` python ` be Python 3.9 or later.
28+ Install Python 3.11 or later with ` pip ` and ` venv ` support, and make sure ` python `
29+ selects it on the runner service's ` PATH ` . Verify this with
30+ ` python --version ` as the account that runs the service.
2331
2432### Enable ccache
2533
@@ -57,9 +65,12 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
5765#### Install brew packages
5866
5967``` bash session
60- brew install openssl@3 jq python@3.9 coreutils ccache
68+ brew install openssl@3 jq python coreutils ccache
6169```
6270
71+ An existing Python 3.11 or later installation is also supported. Make sure
72+ ` python3 --version ` selects a supported version as the account running the runner service.
73+
6374## Microsoft Windows
6475
6576### Adjust settings and permissions
@@ -86,7 +97,9 @@ Install [git for Windows](https://git-scm.com/download/win).
8697
8798### Install Python
8899
89- Install Python 3.9 or later from [ python.org] ( https://python.org ) , and install for all users.
100+ Install Python 3.11 or later from [ python.org] ( https://python.org ) , and make it
101+ available to the account running the runner service. Verify that ` py --version `
102+ selects a supported version for that account.
90103
91104### Install Clang 19
92105
0 commit comments