mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Update Bazel (to 3.4.1), gRPC, boringssl, absl. * Always reinstall Bazel if needing to upgrade to a new Bazel version. * Add patch for properly detecting Windows Python headers when building gRPC. * Add minimum Bazel version check. * Update docs with new Bazel version.
13 lines
662 B
Diff
13 lines
662 B
Diff
diff --git a/third_party/py/python_configure.bzl b/third_party/py/python_configure.bzl
|
|
--- third_party/py/python_configure.bzl
|
|
+++ third_party/py/python_configure.bzl
|
|
@@ -256,7 +256,7 @@ def _get_python_include(repository_ctx, python_bin):
|
|
python_bin,
|
|
"-c",
|
|
"import os;" +
|
|
- "main_header = os.path.join('{}', 'Python.h');".format(include_path) +
|
|
+ "main_header = os.path.join(r'{}', 'Python.h');".format(include_path) +
|
|
"assert os.path.exists(main_header), main_header + ' does not exist.'",
|
|
],
|
|
error_msg = "Unable to find Python headers for {}".format(python_bin),
|
|
--
|