Commit 8a7d604
committed
tool: a stated program path resolves whichever executable suffix the file carries
A build program writes the path a shell gave it, and on Windows `command -v cmake`
answers `C:/Program Files/CMake/bin/cmake` for a `cmake.exe`. The resolver
insisted on the exact spelling and refused a program the host itself would have
run -- measured in CI, where the cmake consumer reported
`options::cmake = "C:/Program Files/CMake/bin/cmake" (not found)` on a runner
carrying cmake, and then failed to compile because the subproject it configures
never built. A stated path now follows the same suffix rule as a discovered one,
which `program_in` has always applied, and a case states it on a Linux row
because the rule is the same on every host.1 parent 789a0bb commit 8a7d604
2 files changed
Lines changed: 44 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
76 | 96 | | |
77 | 97 | | |
78 | 98 | | |
| |||
226 | 246 | | |
227 | 247 | | |
228 | 248 | | |
229 | | - | |
230 | | - | |
231 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
232 | 252 | | |
233 | 253 | | |
234 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
482 | 503 | | |
483 | 504 | | |
484 | 505 | | |
| |||
0 commit comments