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

Set Python_ROOT virtual.env #1344

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Conversation

ellosel
Copy link
Contributor

@ellosel ellosel commented Nov 14, 2024

There were environment changes in more recent images that introduced another python installation in /usr/local. As a result, cmake tends to find the /usr/local/bin/python3 rather than /usr/bin/python3 (that latter is preferred) because /usr/local/bin appears before /usr/bin in the PATH variable.

CMake will attempt to find python via the Python_ROOT variable first if it is set. This change sets the Python_ROOT to /usr if it is unset. This will restore previous "out-of-the-box" behavior.

@ellosel ellosel added the noCI Disable testing on supported CI systems: math libraries CI has this feature enabled.. label Nov 14, 2024
@ellosel ellosel changed the title Set Python_ROOT in build script Set Python_ROOT virtual.env Nov 14, 2024
@ellosel ellosel added ci:testonly and removed noCI Disable testing on supported CI systems: math libraries CI has this feature enabled.. ci:testonly labels Nov 14, 2024
@ellosel ellosel marked this pull request as ready for review November 17, 2024 15:36
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