Skip to content

Add -DPython_FIND_VIRTUALENV=ONLY to cmake configure instructions #4024

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

Closed
wants to merge 1 commit into from

Conversation

giacs-epic
Copy link
Contributor

Required because externals/llvm-project/mlir/cmake/modules/MLIRDetectPythonEnv.cmake also looks for Python other than Python3.

Required because `externals/llvm-project/mlir/cmake/modules/MLIRDetectPythonEnv.cmake` also looks for `Python` other than `Python3`.
Copy link
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems there is now also some code upstream to warn about this
https://github.com/llvm/llvm-project/blob/f427890a1dcd7759240568f189df8fbbcf23669c/mlir/cmake/modules/MLIRDetectPythonEnv.cmake#L30-L38

I guess there could be other solutions that set the one depending on the other. This rather adds more band aid but this is probably better than leaving as is.

@marbre
Copy link
Member

marbre commented Apr 30, 2025

Can you resolve the conflicts @giacs-epic?

@marbre
Copy link
Member

marbre commented Apr 30, 2025

I just realized that #4004 seems more complete that this, thus rather going to land #4004. However, thanks for sending a PR @giacs-epic!

@marbre marbre closed this Apr 30, 2025
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