mirror of
https://github.com/wassname/ray.git
synced 2026-08-15 12:45:23 +08:00
[EVENT] add log reporter (#10419)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
COPTS = ["-DSPDLOG_COMPILED_LIB"]
|
||||
cc_library(
|
||||
name = "spdlog",
|
||||
srcs = glob([
|
||||
"src/*.cpp",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"include/spdlog/*.h",
|
||||
"include/spdlog/cfg/*.h",
|
||||
"include/spdlog/details/*.h",
|
||||
"include/spdlog/fmt/*.h",
|
||||
"include/spdlog/fmt/bundled/*.h",
|
||||
"include/spdlog/sinks/*.h",
|
||||
]),
|
||||
includes = [
|
||||
".",
|
||||
"include/",
|
||||
],
|
||||
strip_include_prefix = 'include',
|
||||
copts = COPTS,
|
||||
deps = [
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
@@ -96,6 +96,13 @@ def ray_deps_setup():
|
||||
],
|
||||
)
|
||||
|
||||
auto_http_archive(
|
||||
name = "com_github_spdlog",
|
||||
build_file = "//bazel:BUILD.spdlog",
|
||||
urls = ["https://github.com/gabime/spdlog/archive/v1.7.0.zip"],
|
||||
sha256 = "c8f1e1103e0b148eb8832275d8e68036f2fdd3975a1199af0e844908c56f6ea5",
|
||||
)
|
||||
|
||||
auto_http_archive(
|
||||
name = "com_github_tporadowski_redis_bin",
|
||||
build_file = "//bazel:BUILD.redis",
|
||||
|
||||
Reference in New Issue
Block a user