Skip to content
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

Define Python_FIND_VIRTUALENV in addition to Python3_FIND_VIRTUALENV #4004

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

Conversation

dbabokin
Copy link
Contributor

@dbabokin dbabokin commented Feb 7, 2025

MLIR searches for both Python3 and Python. If both variables are not defined equally and there multiple python versions on the system, CMake may behave really weirdly.

More details here: llvm/llvm-project#126162

So I grepped for all instances of Python3_FIND_VIRTUALENV and added similar Python_FIND_VIRTUALENV definition.

@dbabokin
Copy link
Contributor Author

dbabokin commented Feb 8, 2025

The fails in the CI are unrelated to the changes in this PR and they show up in other PR as well.

MLIR searches for both Python3 and Python. If both variables are not
defined equally and there multiple python version on the system, CMake
may behave really weirdly.

More details here: llvm/llvm-project#126162
@dbabokin
Copy link
Contributor Author

All green. Need someone to review and approve.

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.

1 participant