-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patches TF to fix windows builds to not look for a python3 executable.
PiperOrigin-RevId: 346198943
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/third_party/remote_config/common.bzl b/third_party/remote_config/common.bzl | ||
index d7e69326205..6f5a4f8c3e0 100644 | ||
--- a/third_party/remote_config/common.bzl | ||
+++ b/third_party/remote_config/common.bzl | ||
@@ -42,11 +42,6 @@ def get_python_bin(repository_ctx): | ||
if python_bin != None: | ||
return python_bin | ||
|
||
- # First check for an explicit "python3" | ||
- python_bin = which(repository_ctx, "python3") | ||
- if python_bin != None: | ||
- return python_bin | ||
- | ||
# Some systems just call pythone3 "python" | ||
python_bin = which(repository_ctx, "python") | ||
if python_bin != None: |