提交 1d5de57c 编写于 作者: X Xiangquan Xiao

Bazel: Add rt target.

上级 8c474fd8
......@@ -62,7 +62,6 @@ cc_library(
hdrs = ["cyber.h"],
linkopts = [
"-lprotobuf",
"-lrt",
],
deps = [
"//cyber:binary",
......@@ -104,6 +103,7 @@ cc_library(
"//cyber/transport",
"//cyber/transport:participant",
"//cyber/transport:sub_listener",
"//third_party:rt",
"//third_party:uuid",
"//third_party/tf2",
"@fastrtps",
......
......@@ -9,8 +9,6 @@ cc_library(
linkopts = [
"-lsnappy",
"-lz",
"-lsnappy",
"-lrt",
"-ldl",
"-lpthread",
],
......@@ -18,6 +16,7 @@ cc_library(
"//cyber/common:log",
"//external:gflags",
"//modules/perception/inference:inference_lib",
"//third_party:rt",
"@boost",
"@com_google_protobuf//:protobuf",
"@cuda",
......
......@@ -4,3 +4,8 @@ cc_library(
name = "uuid",
linkopts = ["-luuid"],
)
cc_library(
name = "rt",
linkopts = ["-lrt"],
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册