forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: More fixes for Windows, part 4
* Normalize the interpreter path. When the path is coming from another repo, it starts with "../", which the launcher resolution code doesn't know how to handle. Normalizing converts e.g. "workspace/../foo/bar" to "foo/bar". * Implement the magic "py2 interpreter path sentinel overrides toolchain" logic. This logic is triggered on Windows to get "python" as the interpreter path that is put into the native launcher. Work towards bazelbuild#15897 PiperOrigin-RevId: 505265140 Change-Id: I7beb6109739e23b884b818537c6948450458e2f7
- Loading branch information
1 parent
3b7e8d0
commit 030de8a
Showing
2 changed files
with
19 additions
and
2 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