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

Use the new cmake FindPython strategy #35

Open
dolfim-ibm opened this issue Oct 2, 2024 · 1 comment
Open

Use the new cmake FindPython strategy #35

dolfim-ibm opened this issue Oct 2, 2024 · 1 comment

Comments

@dolfim-ibm
Copy link
Contributor

According to this recommendation, we should soon switch to the new FindPython strategy.

Unfortunately, our initial tests showed that the FindPython strategy is mostly ignoring the hint Python_ROOT_DIR and defaults to the system python. This is then breaking all the python wheels which are generated.

This could be caused by the Python3_FIND_STRATEGY (default is VERSION) which might look for all python and then choose the most higher version. We should try with LOCATION, and see if it is able to be stick to the proposed Python_ROOT_DIR.

@dolfim-ibm
Copy link
Contributor Author

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

No branches or pull requests

1 participant