Skip to content

[UR] Update PYTHON_EXECUTABLE to Python3_EXECUTABLE in cmake #19637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

blenderfreaky
Copy link
Contributor

${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.

${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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants