-
Notifications
You must be signed in to change notification settings - Fork 126
Use find_program to get python in cmake #1156
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
Conversation
|
|
||
| set(FIREBASE_PYTHON_EXECUTABLE "python" CACHE FILEPATH | ||
| "The Python interpreter to use, such as one from a venv") | ||
| find_program(FIREBASE_PYTHON_EXECUTABLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this still be overridden by specifying -D FIREBASE_PYTHON_EXECUTABLE=xxx? I depend on that functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, documentation suggested that, and confirmed it locally.
Integration test with FLAKINESS (succeeded after retry)Requested by @a-maurice on commit 9516fcd
Add flaky tests to go/fpl-cpp-flake-tracker |
|
The failing test is an unrelated issue, that I will fix in a different PR. |
Description
Instead of using set, we should use find_program to locate the python executable, since it can either be python or python3.
Testing
Type of Change
Place an
xthe applicable box:Notes
Release Notessection ofrelease_build_files/readme.md.