[EVENT] add log reporter (#10419)

This commit is contained in:
Basasuya
2020-09-16 11:54:05 +08:00
committed by GitHub
parent da1d171c39
commit 5e030db8a5
6 changed files with 377 additions and 3 deletions
+24
View File
@@ -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"],
)
+7
View File
@@ -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",