upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorMaxime Mansiet <AirKyzzZ@users.noreply.github.com>2026-11-22 22:59:10 +0100
committerMaxime Mansiet <AirKyzzZ@users.noreply.github.com>2026-11-22 22:59:10 +0100
commit84f8f1b04a8a0b514177724aa174bee697dfe81f (patch)
treed98506b7c62ebcde2c260bb62c172b4dfb43a475 /docs/testing.md
parent02c19d105d0a02bb5a1bc18c1e6d30bd93bc559d (diff)
docs: say Homebrew's llvm-mc is not on PATH and where the tests find it
Signed-off-by: Maxime Mansiet <AirKyzzZ@users.noreply.github.com>
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 86e0ed328..e38652a15 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -20,7 +20,10 @@ This page collects the setup steps and the problems testers have run into so far
20 - `llvm-21` in WSL, with `LLVM_MC` set to the whole command: 20 - `llvm-21` in WSL, with `LLVM_MC` set to the whole command:
21 `LLVM_MC="wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc"`. 21 `LLVM_MC="wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc"`.
22 22
23 On Linux and macOS, the distribution's or Homebrew's `llvm-mc` on `PATH` is enough, if it is 21 or newer. 23 On Linux, the distribution's `llvm-mc` on `PATH` is enough, if it is 21 or newer. On macOS, Homebrew's `llvm` is
24 keg-only, so `brew install llvm` doesn't put `llvm-mc` on `PATH`: the pytest suites find it in
25 `/opt/homebrew/opt/llvm*/bin` (or `/usr/local/opt/llvm*/bin` on Intel), and the other tools need
26 `LLVM_MC="$(brew --prefix llvm)/bin/llvm-mc"`.
24 27
25 An older `llvm-mc` is not enough for everything. Ubuntu 24.04's `llvm-18` (18.1.3) runs `run_gpu_tests.py`, 28 An older `llvm-mc` is not enough for everything. Ubuntu 24.04's `llvm-18` (18.1.3) runs `run_gpu_tests.py`,
26 `valu_fuzz.py --family mem` and `lds_fuzz.py`, but rejects `op_sel` on the 16-bit integer VOP3 forms that 29 `valu_fuzz.py --family mem` and `lds_fuzz.py`, but rejects `op_sel` on the 16-bit integer VOP3 forms that