Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
c0392cb9
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c0392cb9
编写于
7月 09, 2020
作者:
S
storypku
提交者:
Xiangquan Xiao
7月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Bazel: move general purpose systemlibs(-lrt,-lm,-pthread,...) into linkopts
上级
e5ad41b8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
37 deletion
+10
-37
cyber/BUILD
cyber/BUILD
+2
-2
cyber/tools/cyber_monitor/BUILD
cyber/tools/cyber_monitor/BUILD
+1
-1
cyber/tools/cyber_recorder/BUILD
cyber/tools/cyber_recorder/BUILD
+1
-1
modules/tools/visualizer/BUILD
modules/tools/visualizer/BUILD
+3
-1
third_party/BUILD
third_party/BUILD
+3
-32
未找到文件。
cyber/BUILD
浏览文件 @
c0392cb9
...
...
@@ -20,11 +20,11 @@ cc_binary(
"mainboard/module_controller.cc"
,
"mainboard/module_controller.h"
,
],
linkopts
=
[
"-pthread"
],
linkstatic
=
False
,
deps
=
[
":cyber_core"
,
"//cyber/proto:dag_conf_cc_proto"
,
"//third_party:pthread"
,
],
)
...
...
@@ -59,6 +59,7 @@ cc_library(
name
=
"cyber_core"
,
srcs
=
[
"cyber.cc"
],
hdrs
=
[
"cyber.h"
],
linkopts
=
[
"-lrt"
],
deps
=
[
"//cyber:binary"
,
"//cyber:init"
,
...
...
@@ -99,7 +100,6 @@ cc_library(
"//cyber/transport"
,
"//cyber/transport:participant"
,
"//cyber/transport:sub_listener"
,
"//third_party:rt"
,
"//third_party:uuid"
,
"@com_google_glog//:glog"
,
"@com_google_protobuf//:protobuf"
,
...
...
cyber/tools/cyber_monitor/BUILD
浏览文件 @
c0392cb9
...
...
@@ -13,6 +13,7 @@ cc_binary(
"renderable_message.cc"
,
"screen.cc"
,
],
linkopts
=
[
"-pthread"
],
deps
=
[
":cyber_topology_message"
,
":general_channel_message"
,
...
...
@@ -20,7 +21,6 @@ cc_binary(
"//cyber:init"
,
"//cyber/service_discovery:topology_manager"
,
"//third_party:ncurses"
,
"//third_party:pthread"
,
],
)
...
...
cyber/tools/cyber_recorder/BUILD
浏览文件 @
c0392cb9
...
...
@@ -6,6 +6,7 @@ package(default_visibility = ["//visibility:public"])
cc_binary
(
name
=
"cyber_recorder"
,
srcs
=
[
"main.cc"
],
linkopts
=
[
"-pthread"
],
deps
=
[
":info"
,
":player"
,
...
...
@@ -15,7 +16,6 @@ cc_binary(
"//cyber:init"
,
"//cyber/common:file"
,
"//cyber/common:time_conversion"
,
"//third_party:pthread"
,
],
)
...
...
modules/tools/visualizer/BUILD
浏览文件 @
c0392cb9
...
...
@@ -11,11 +11,13 @@ cc_binary(
includes
=
[
"."
,
],
linkopts
=
[
"-pthread"
,
],
deps
=
[
":visualizer_lib"
,
"//third_party:console_bridge"
,
"//third_party:glvnd"
,
"//third_party:pthread"
,
"@fastrtps"
,
"@qt//:qt_core"
,
"@qt//:qt_gui"
,
...
...
third_party/BUILD
浏览文件 @
c0392cb9
...
...
@@ -2,22 +2,6 @@ load("@rules_cc//cc:defs.bzl", "cc_library")
package
(
default_visibility
=
[
"//visibility:public"
])
# Libs provided by the system.
cc_library
(
name
=
"adolc"
,
deps
=
[
"@adolc"
,
],
)
cc_library
(
name
=
"ipopt"
,
deps
=
[
"@ipopt"
,
],
)
cc_library
(
name
=
"libtorch"
,
deps
=
select
({
...
...
@@ -30,28 +14,15 @@ cc_library(
}),
)
# systemlibs
# TODO(infra): all the system libs should have its own section
# libncurses5-dev
cc_library
(
name
=
"ncurses"
,
linkopts
=
[
"-lncurses"
],
)
cc_library
(
name
=
"pthread"
,
linkopts
=
[
"-pthread"
],
)
# python3-dev
cc_library
(
name
=
"python3"
,
linkopts
=
[
"-lpython3.6m"
],
)
cc_library
(
name
=
"rt"
,
linkopts
=
[
"-lrt"
],
)
# libsqlite3-dev
cc_library
(
name
=
"sqlite3"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录