-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changes `py_runtime` to get its interpreter version from the `--python_version` flag if it wasn't explicitly specified. This is useful in two contexts: For the runtime env toolchains, a local toolchain, or platform interpreter (basically any py_runtime without a known version), it allows getting some Python version into the analysis phase, which allows e.g. precompiling. For environments using embedded Python, it allows defining fewer (e.g. 1) `py_runtime` target instead of one for every Python version. This is because `py_runtime` serves a minor role in such builds.
- Loading branch information
Showing
3 changed files
with
69 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters