diff options
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/testing.md b/docs/testing.md index 71edca6cc..f15177316 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -20,7 +20,9 @@ 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, the distribution's `llvm-mc` on `PATH` is enough, if it is 21 or newer. On macOS, Homebrew's `llvm` is | 23 | On Linux, the distribution's `llvm-mc` on `PATH` is enough, if it is 21 or newer. Debian and Ubuntu's `llvm-21` |
| 24 | installs it only as `llvm-mc-21` and `/usr/lib/llvm-21/bin/llvm-mc`; with `LLVM_MC` unset, the tools take the newest | ||
| 25 | such versioned install when there is no plain `llvm-mc` (`tools/mc_command.py`). 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 | 26 | 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 | 27 | `/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"`. | 28 | `LLVM_MC="$(brew --prefix llvm)/bin/llvm-mc"`. |