forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
58 lines (40 loc) · 1.55 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
workspace(name = "com_github_ray_project_ray")
new_local_repository(
name = "libnl_lib",
path = "/usr/lib/x86_64-linux-gnu",
build_file = "strlcpy_lib.build",
)
new_local_repository(
name = "libibverbs",
path = "/usr/lib/x86_64-linux-gnu",
build_file = "strlcpy_lib.build",
)
new_local_repository(
name = "strlcpy_lib",
path = "/usr/lib/x86_64-linux-gnu",
build_file = "strlcpy_lib.build",
)
new_local_repository(
name = "libdoca_lib",
path = "/opt/mellanox/doca/lib/x86_64-linux-gnu",
build_file = "libdoca_lib.build",
)
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 = "4.2.1")
# 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()