mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:38:19 +08:00
[build] Build wheels with manylinux2014 (#11621)
* necessary changes * Split bazel install * manylinux2014 * change references to manylinux2014 * Fix lint * port alex's docker build changes * fix config issue * remove extra manylinux2010 requirement script * revert SHA overwrite * wip * incompatible_linklibs * fix nits
This commit is contained in:
+3
-1
@@ -178,7 +178,8 @@ def is_invalid_windows_platform():
|
||||
# (~/.bazel/bin/bazel) if it isn't found.
|
||||
def bazel_invoke(invoker, cmdline, *args, **kwargs):
|
||||
home = os.path.expanduser("~")
|
||||
candidates = ["bazel"]
|
||||
first_candidate = os.getenv("BAZEL_PATH", "bazel")
|
||||
candidates = [first_candidate]
|
||||
if sys.platform == "win32":
|
||||
mingw_dir = os.getenv("MINGW_DIR")
|
||||
if mingw_dir:
|
||||
@@ -191,6 +192,7 @@ def bazel_invoke(invoker, cmdline, *args, **kwargs):
|
||||
result = invoker([cmd] + cmdline, *args, **kwargs)
|
||||
break
|
||||
except IOError:
|
||||
raise
|
||||
if i >= len(candidates) - 1:
|
||||
raise
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user