Commit 0e20fcc
Update PYTHON_EXECUTABLE to Python3_EXECUTABLE in cmake (#19637)
`${Python3_EXECUTABLE}` is what is set by FindPython3 and is what is
used everywhere else.
`${PYTHON_EXECUTABLE}` may be unset depending, causing the build to
fail.
This failure case gets hit when compiling under NixOS for example
There's a few instances of `PYTHON_EXECUTABLE` left in upstream LLVM,
though I haven't verified whether it builds properly with those changed
to `Python3_EXECUTABLE`, so they're untouched here.1 parent 633e159 commit 0e20fcc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
0 commit comments