1 Star 0 Fork 11

sunfangyi/Ray

forked from Gitee 极速下载/Ray 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
WORKSPACE 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
workspace(name = "com_github_ray_project_ray")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("//bazel:ray_deps_setup.bzl", "ray_deps_setup")
ray_deps_setup()
load("//bazel:ray_deps_build_all.bzl", "ray_deps_build_all")
ray_deps_build_all()
# This needs to be run after grpc_deps() in ray_deps_build_all() to make
# sure all the packages loaded by grpc_deps() are available. However a
# load() statement cannot be in a function so we put it here.
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
load("@bazel_skylib//lib:versions.bzl", "versions")
# TODO (shrekris-anyscale): Update the min version to 4.2.2 once Windows uses
# it in CI.
# When the bazel version is updated, make sure to update it
# in setup.py as well.
versions.check(minimum_bazel_version = "5.4.0")
# Tools to generate `compile_commands.json` to enable awesome tooling of the C language family.
# Just run `bazel run @hedron_compile_commands//:refresh_all`
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()
http_archive(
name = "rules_python",
sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f",
strip_prefix = "rules_python-0.21.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.21.0/rules_python-0.21.0.tar.gz",
)
load("@rules_python//python:repositories.bzl", "python_register_toolchains")
python_register_toolchains(
name = "python3_9",
python_version = "3.9",
register_toolchains = False,
)
load("@python3_9//:defs.bzl", bk_python = "interpreter")
load("@rules_python//python/pip_install:repositories.bzl", "pip_install_dependencies")
pip_install_dependencies()
load("@rules_python//python:pip.bzl", "pip_parse")
pip_parse(
name = "py_deps_buildkite",
python_interpreter_target = bk_python,
requirements_lock = "//release:requirements_buildkite.txt",
)
load("@py_deps_buildkite//:requirements.bzl", install_py_deps_buildkite = "install_deps")
install_py_deps_buildkite()
register_toolchains("//release:python_toolchain")
register_execution_platforms(
"@local_config_platform//:host",
"//release:hermetic_python_platform",
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sunfangyi/Ray.git
git@gitee.com:sunfangyi/Ray.git
sunfangyi
Ray
Ray
master

搜索帮助