mirror of
https://github.com/wassname/ray.git
synced 2026-07-21 12:50:45 +08:00
Add bazel build options for plasma to use glog (#5108)
This commit is contained in:
+11
-1
@@ -1,5 +1,7 @@
|
||||
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
|
||||
|
||||
COPTS = ["-DARROW_USE_GLOG"]
|
||||
|
||||
java_library(
|
||||
name = "org_apache_arrow_arrow_plasma",
|
||||
srcs = glob(["java/plasma/src/main/java/**/*.java"]),
|
||||
@@ -57,9 +59,11 @@ cc_library(
|
||||
"cpp/src/arrow/vendored/xxhash/xxhash.c",
|
||||
"cpp/src/arrow/vendored/xxhash/xxhash.h",
|
||||
],
|
||||
copts = COPTS,
|
||||
strip_include_prefix = "cpp/src",
|
||||
deps = [
|
||||
"@boost//:filesystem",
|
||||
"@com_github_google_glog//:glog",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -87,12 +91,14 @@ cc_library(
|
||||
"cpp/src/plasma/plasma_generated.h",
|
||||
"cpp/src/plasma/protocol.h",
|
||||
],
|
||||
copts = COPTS,
|
||||
strip_include_prefix = "cpp/src",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":arrow",
|
||||
":common_fbs",
|
||||
":plasma_fbs",
|
||||
"@com_github_google_glog//:glog",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -173,8 +179,12 @@ cc_library(
|
||||
"cpp/src/plasma/thirdparty/ae/zmalloc.h",
|
||||
"cpp/src/plasma/thirdparty/dlmalloc.c",
|
||||
],
|
||||
copts = COPTS,
|
||||
strip_include_prefix = "cpp/src",
|
||||
deps = [":plasma_client"],
|
||||
deps = [
|
||||
":plasma_client",
|
||||
"@com_github_google_glog//:glog",
|
||||
],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
|
||||
Reference in New Issue
Block a user