Commit 9f457b8
build: raise CompilerNotFoundError for null runtime
When the null runtime detects a missing compiler via is_supported(),
raise a specific CompilerNotFoundError instead of the generic
UnsupportedArchitectureToolchainCombination. This gives the user an
actionable error message naming the missing compiler and suggesting
to install it or use a container-based runtime.
Before:
E: Unsupported architecture/toolchain combination: sparc64/gcc
After:
E: Compiler not found: sparc64-linux-gnu-gcc
Install the compiler or use a container-based runtime (e.g. --runtime=docker/podman)
Signed-off-by: Ben Copeland <ben.copeland@linaro.org>1 parent 472ce8f commit 9f457b8
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
| 892 | + | |
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
896 | 901 | | |
897 | 902 | | |
898 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
0 commit comments