Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
28a408d9
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,发现更多精彩内容 >>
提交
28a408d9
编写于
6月 22, 2020
作者:
S
storypku
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Build adjustment: explicit deps over implicit linkopts
上级
1a3e1fe5
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
15 addition
and
63 deletion
+15
-63
modules/dreamview/backend/handlers/BUILD
modules/dreamview/backend/handlers/BUILD
+1
-5
modules/dreamview/backend/perception_camera_updater/BUILD
modules/dreamview/backend/perception_camera_updater/BUILD
+1
-5
modules/localization/msf/local_pyramid_map/base_map/BUILD
modules/localization/msf/local_pyramid_map/base_map/BUILD
+1
-3
modules/perception/camera/test/BUILD
modules/perception/camera/test/BUILD
+0
-33
modules/perception/camera/tools/lane_detection/BUILD
modules/perception/camera/tools/lane_detection/BUILD
+1
-5
modules/perception/camera/tools/offline/BUILD
modules/perception/camera/tools/offline/BUILD
+1
-5
modules/perception/inference/caffe/BUILD
modules/perception/inference/caffe/BUILD
+1
-1
modules/perception/inference/utils/BUILD
modules/perception/inference/utils/BUILD
+5
-5
what_works.sh
what_works.sh
+4
-1
未找到文件。
modules/dreamview/backend/handlers/BUILD
浏览文件 @
28a408d9
...
...
@@ -22,17 +22,13 @@ cc_library(
srcs
=
[
"image_handler.cc"
],
hdrs
=
[
"image_handler.h"
],
copts
=
[
'-DMODULE_NAME=
\\
"dreamview
\\
"'
],
linkopts
=
[
"-lopencv_core"
,
"-lopencv_highgui"
,
"-lopencv_imgproc"
,
],
deps
=
[
"//cyber"
,
"//modules/common/adapters:adapter_gflags"
,
"//modules/common/configs:config_gflags"
,
"//modules/drivers/proto:sensor_image_cc_proto"
,
"@civetweb//:civetweb++"
,
"@opencv"
,
],
)
...
...
modules/dreamview/backend/perception_camera_updater/BUILD
浏览文件 @
28a408d9
...
...
@@ -8,11 +8,6 @@ cc_library(
srcs
=
[
"perception_camera_updater.cc"
],
hdrs
=
[
"perception_camera_updater.h"
],
copts
=
[
'-DMODULE_NAME=
\\
"dreamview
\\
"'
],
linkopts
=
[
"-lopencv_core"
,
"-lopencv_highgui"
,
"-lopencv_imgproc"
,
],
deps
=
[
"//cyber"
,
"//modules/common/adapters:adapter_gflags"
,
...
...
@@ -24,6 +19,7 @@ cc_library(
"//modules/transform:tf2_buffer_lib"
,
"//modules/transform/proto:transform_cc_proto"
,
"@eigen"
,
"@opencv"
,
],
)
...
...
modules/localization/msf/local_pyramid_map/base_map/BUILD
浏览文件 @
28a408d9
...
...
@@ -28,14 +28,12 @@ cc_library(
],
linkopts
=
[
"-lz"
,
"-lopencv_core"
,
"-lopencv_highgui"
,
"-lopencv_imgproc"
,
],
deps
=
[
"//cyber/common"
,
"@com_google_glog//:glog"
,
"@eigen"
,
"@opencv"
,
],
)
...
...
modules/perception/camera/test/BUILD
浏览文件 @
28a408d9
...
...
@@ -7,9 +7,6 @@ cc_test(
name
=
"camera_app_obstacle_camera_perception_test"
,
size
=
"medium"
,
srcs
=
[
"camera_app_obstacle_camera_perception_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
"//modules/perception/camera/app:obstacle_camera_perception"
,
"//modules/perception/common:perception_gflags"
,
...
...
@@ -27,9 +24,6 @@ cc_test(
#cc_test(
# name = "camera_app_traffic_light_camera_perception_test",
# srcs = ["camera_app_traffic_light_camera_perception_test.cc"],
# linkopts = [
# "-lnvinfer_plugin",
# ],
# deps = [
# "//modules/perception/camera/app:traffic_light_camera_perception",
# "//modules/perception/inference:inference_factory",
...
...
@@ -64,9 +58,6 @@ cc_test(
name
=
"camera_common_data_provider_test"
,
size
=
"small"
,
srcs
=
[
"camera_common_data_provider_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
":camera_common_io_util"
,
"//modules/perception/camera/common:data_provider"
,
...
...
@@ -86,9 +77,6 @@ cc_test(
name
=
"camera_common_twod_threed_util_test"
,
size
=
"small"
,
srcs
=
[
"camera_common_twod_threed_util_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
"//modules/perception/camera/common:twod_threed_util"
,
"//modules/perception/common/i_lib/algorithm:i_sort"
,
...
...
@@ -118,9 +106,6 @@ cc_library(
#cc_test(
# name = "camera_common_undistortion_handler_test",
# srcs = ["camera_common_undistortion_handler_test.cc"],
# linkopts = [
# "-lnvinfer_plugin",
# ],
# deps = [
# ":camera_common_io_util",
# ":camera_common_undistortion",
...
...
@@ -140,9 +125,6 @@ cc_test(
name
=
"camera_common_util_test"
,
size
=
"small"
,
srcs
=
[
"camera_common_util_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
":camera_common_io_util"
,
"//modules/perception/camera/common:data_provider"
,
...
...
@@ -164,9 +146,6 @@ cc_test(
name
=
"camera_common_veh_template_test"
,
size
=
"small"
,
srcs
=
[
"camera_common_veh_template_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
"//modules/perception/camera/common:object_template_manager"
,
"//modules/perception/inference:inference_factory"
,
...
...
@@ -527,9 +506,6 @@ cc_test(
# cc_test(
# name = "camera_lib_traffic_light_detector_detection_test",
# srcs = ["camera_lib_traffic_light_detector_detection_test.cc"],
# linkopts = [
# "-lnvinfer_plugin",
# ],
# deps = [
# "//modules/perception/camera/lib/traffic_light/detector/detection:detection",
# "//modules/perception/inference:inference_factory",
...
...
@@ -546,9 +522,6 @@ cc_test(
#cc_test(
# name = "camera_lib_traffic_light_detector_recognition_test",
# srcs = ["camera_lib_traffic_light_detector_recognition_test.cc"],
# linkopts = [
# "-lnvinfer_plugin",
# ],
# deps = [
# "//modules/perception/camera/lib/traffic_light/detector/recognition:recognition",
# "//modules/perception/inference:inference_factory",
...
...
@@ -583,9 +556,6 @@ cc_test(
#cc_test(
# name = "camera_lib_traffic_light_preprocessor_test",
# srcs = ["camera_lib_traffic_light_preprocessor_test.cc"],
# linkopts = [
# "-lnvinfer_plugin",
# ],
# deps = [
# "//modules/perception/camera/lib/traffic_light/preprocessor:tl_preprocessor",
# "//modules/perception/common/sensor_manager:sensor_manager",
...
...
@@ -604,9 +574,6 @@ cc_test(
name
=
"camera_lib_traffic_light_tracker_test"
,
size
=
"small"
,
srcs
=
[
"camera_lib_traffic_light_tracker_test.cc"
],
linkopts
=
[
"-lnvinfer_plugin"
,
],
deps
=
[
"//cyber"
,
"//modules/perception/base:distortion_model"
,
...
...
modules/perception/camera/tools/lane_detection/BUILD
浏览文件 @
28a408d9
...
...
@@ -17,11 +17,6 @@ cc_library(
cc_binary
(
name
=
"lane_denseline_eval"
,
srcs
=
[
"lane_denseline_eval.cc"
],
linkopts
=
[
"-lopencv_core"
,
"-lopencv_imgproc"
,
"-lopencv_highgui"
,
],
linkstatic
=
False
,
deps
=
[
":lane_common"
,
...
...
@@ -35,6 +30,7 @@ cc_binary(
"//modules/perception/camera/lib/lane/postprocessor/denseline:denseline_lane_postprocessor"
,
"//modules/perception/common/io:io_util"
,
"@com_github_gflags_gflags//:gflags"
,
"@opencv"
,
],
)
...
...
modules/perception/camera/tools/offline/BUILD
浏览文件 @
28a408d9
...
...
@@ -11,16 +11,12 @@ cc_library(
"keycode.h"
,
"visualizer.h"
,
],
linkopts
=
[
"-lopencv_core"
,
"-lopencv_imgproc"
,
"-lopencv_highgui"
,
],
deps
=
[
":transform_server"
,
"//modules/perception/camera/app:cipv_camera"
,
"//modules/perception/camera/common"
,
"//modules/perception/proto:motion_service_cc_proto"
,
"@opencv"
,
],
)
...
...
modules/perception/inference/caffe/BUILD
浏览文件 @
28a408d9
...
...
@@ -7,12 +7,12 @@ cc_library(
name
=
"caffe_net_lib"
,
srcs
=
[
"caffe_net.cc"
],
hdrs
=
[
"caffe_net.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
deps
=
[
"//modules/perception/inference:inference_lib"
,
"//third_party:boost"
,
"@caffe"
,
"@com_google_protobuf//:protobuf"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
modules/perception/inference/utils/BUILD
浏览文件 @
28a408d9
...
...
@@ -18,10 +18,10 @@ cc_library(
name
=
"inference_cuda_util_lib"
,
srcs
=
[
":inference_cuda_util_cuda_lib"
],
hdrs
=
[
"cuda_util.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
linkstatic
=
1
,
deps
=
[
"@caffe"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
@@ -45,7 +45,6 @@ cc_library(
":inference_util_cuda_lib"
,
],
hdrs
=
[
"util.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
linkstatic
=
1
,
deps
=
[
"//modules/perception/base:blob"
,
...
...
@@ -53,6 +52,7 @@ cc_library(
"//modules/perception/base:image"
,
"//modules/perception/base:point_cloud"
,
"@caffe"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
@@ -75,10 +75,10 @@ cc_library(
name
=
"inference_resize_lib"
,
srcs
=
[
":inference_resize_cuda_lib"
],
hdrs
=
[
"resize.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
linkstatic
=
1
,
deps
=
[
"@caffe"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
@@ -101,10 +101,10 @@ cc_library(
name
=
"inference_gemm_lib"
,
srcs
=
[
":inference_gemm_cuda_lib"
],
hdrs
=
[
"gemm.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
linkstatic
=
1
,
deps
=
[
"@caffe"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
@@ -126,10 +126,10 @@ cc_library(
name
=
"inference_binary_data_lib"
,
srcs
=
[
"binary_data.cc"
],
hdrs
=
[
"binary_data.h"
],
linkopts
=
[
"-lnvinfer_plugin"
],
deps
=
[
"//modules/perception/base:blob"
,
"@caffe"
,
"@local_config_tensorrt//:tensorrt"
,
"@opencv"
,
],
)
...
...
what_works.sh
浏览文件 @
28a408d9
...
...
@@ -159,5 +159,8 @@ echo "########################### All check passed! ###########################"
# See https://docs.bazel.build/versions/master/be/python.html
# TODO(Kecheng Xu): modules/tools/configurator/configurator.py: 2to3
# TODO(storypku): cyber.aarch64 docker image
# TODO(storypku): tools/workspace.bzl to re-org WORKSPACE
.in
# TODO(storypku): tools/workspace.bzl to re-org WORKSPACE
# TODO(?): no break for cpu only build
# TODO(?): Substitute implicit "-l" linkopts with explicit deps in BUILD files
# find modules/ -name "BUILD" -exec grep -- "-l" {} +
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录