forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch grpc for Windows (ray-project#6282)
- Loading branch information
Showing
2 changed files
with
15 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,14 @@ | ||
diff --git third_party/py/python_configure.bzl third_party/py/python_configure.bzl | ||
index 2cb84077e5..e733b9204e 100644 | ||
--- third_party/py/python_configure.bzl | ||
+++ third_party/py/python_configure.bzl | ||
@@ -190,7 +190,7 @@ def _get_python_lib(repository_ctx, python_bin, lib_path_key): | ||
"for path in all_paths:\n" + " if os.path.isdir(path):\n" + | ||
" paths.append(path)\n" + "if len(paths) >=1:\n" + | ||
" print(paths[0])\n" + "END") | ||
- cmd = '%s - %s' % (python_bin, print_lib) | ||
+ cmd = '"%s" - %s' % (python_bin, print_lib) | ||
result = repository_ctx.execute([_get_bash_bin(repository_ctx), "-c", cmd]) | ||
return result.stdout.strip('\n') | ||
|
||
-- |