Skip to content

Commit

Permalink
[Core] Split gcs into smaller targets (ray-project#50764)
Browse files Browse the repository at this point in the history
Signed-off-by: fscnick <fscnick.dev@gmail.com>
  • Loading branch information
fscnick authored Feb 21, 2025
1 parent 011f249 commit 7feb2e9
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2678,33 +2678,28 @@ ray_cc_test(
)

ray_cc_library(
name = "gcs",
name = "gcs_pb_util",
srcs = [
"//:src/ray/gcs/pb_utils.cc",
"//:src/ray/gcs/redis_async_context.cc",
"//:src/ray/gcs/redis_client.cc",
"//:src/ray/gcs/redis_context.cc",
],
hdrs = [
"//:src/ray/gcs/pb_util.h",
"//:src/ray/gcs/redis_async_context.h",
"//:src/ray/gcs/redis_client.h",
"//:src/ray/gcs/redis_context.h",
],
deps = [
":ray_common",
"//src/ray/protobuf:autoscaler_cc_proto",
],
)

ray_cc_library(
name = "gcs",
deps = [
":gcs_callback",
":hiredis",
":node_manager_fbs",
":node_manager_rpc",
":ray_common",
":stats_lib",
"//src/ray/protobuf:agent_manager_cc_proto",
"//src/ray/protobuf:gcs_cc_proto",
"//src/ray/protobuf:gcs_service_cc_proto",
"//src/ray/util",
"//src/ray/util:exponential_backoff",
"@boost//:asio",
],
":gcs_pb_util",
":redis_client",
]
)

ray_cc_test(
Expand Down

0 comments on commit 7feb2e9

Please sign in to comment.