Skip to content

Commit 34eaf82

Browse files
committed
feat: release 9.0.0-alpha1
- refactor of PnC and perception - support arm - support plugins - optimize config and project dir structure - bugfix Signed-off-by: liangjinping <liangjinping@baidu.com> Change-Id: I8c7b4cede58e2d512a50dcf908b5a5db6d664148
1 parent 5937149 commit 34eaf82

File tree

6,351 files changed

+192725
-476480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,351 files changed

+192725
-476480
lines changed

.clang-format

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ IncludeCategories:
1212
# Miscelaneous system libraries
1313
- Regex: '<(immintrin.h|malloc.h|wait.h|x86intrin.h|cuda.*)>'
1414
Priority: 3
15+
# third-party libraries
16+
- Regex: '<(tinyxml2.h)>'
17+
Priority: 3
1518
# C standard libraries
1619
- Regex: '<(arpa/|netinet/|net/if|sys/)?[^\./]*\.h>'
1720
Priority: 1

BUILD

+100-71
Original file line numberDiff line numberDiff line change
@@ -11,47 +11,60 @@ exports_files([
1111
])
1212

1313
install(
14-
name = "install",
14+
name = "deprecated_install",
1515
deps = if_gpu([
16-
"//modules/perception:install",
17-
"//modules/planning:install",
18-
"//modules/v2x:install",
1916
"//third_party/centerpoint_infer_op:install",
2017
"//third_party/paddleinference:install",
18+
"//third_party/tf2:install",
2119
"//third_party/caddn_infer_op:install",
22-
], [
23-
"//cyber:install",
24-
"//tools:install",
25-
"//modules/data:install",
26-
#"//cyber/examples:install",
27-
#"//docker/scripts:install",
28-
#"//docs:install",
29-
"//modules/audio:install",
30-
"//modules/bridge:install",
31-
"//modules/calibration:install",
32-
"//modules/canbus:install",
33-
"//modules/canbus_vehicle:install",
34-
"//modules/common:install",
35-
"//modules/common_msgs:install",
36-
"//modules/contrib/cyber_bridge:install",
37-
"//modules/control:install",
38-
"//modules/planning:install",
39-
"//modules/dreamview:install",
40-
"//modules/drivers:install",
41-
"//modules/guardian:install",
42-
"//modules/localization:install",
43-
"//modules/map:install",
44-
"//modules/monitor:install",
45-
"//modules/prediction:install",
46-
"//modules/routing:install",
47-
"//modules/storytelling:install",
48-
"//modules/task_manager:install",
49-
"//modules/third_party_perception:install",
50-
"//modules/tools:install",
51-
"//modules/transform:install",
20+
"//third_party/absl:install",
21+
"//third_party/ad_rss_lib:install",
22+
"//third_party/boost:install",
23+
"//third_party/civetweb:install",
24+
"//third_party/eigen3:install",
25+
"//third_party/gtest:install",
26+
"//third_party/ipopt:install",
27+
"//third_party/libtorch:install",
28+
"//third_party/fastrtps:install",
29+
"//third_party/gflags:install",
30+
"//third_party/glog:install",
31+
"//third_party/nlohmann_json:install",
32+
"//third_party/opencv:install",
33+
"//third_party/osqp:install",
34+
"//third_party/pcl:install",
35+
"//third_party/vtk:install",
36+
"//third_party/proj:install",
37+
"//third_party/protobuf:install",
38+
"//third_party/py:install",
39+
"//third_party/opengl:install",
40+
"//third_party/openh264:install",
41+
"//third_party/cpplint:install",
42+
"//third_party/portaudio:install",
43+
"//third_party/fftw3:install",
44+
"//third_party/glew:install",
45+
"//third_party/adolc:install",
46+
"//third_party/atlas:install",
47+
"//third_party/benchmark:install",
48+
"//third_party/ncurses5:install",
49+
"//third_party/sqlite3:install",
50+
"//third_party/tensorrt:install",
51+
"//third_party/tinyxml2:install",
52+
"//third_party/uuid:install",
53+
"//third_party/yaml_cpp:install",
54+
"//third_party/qt5:install",
55+
"//third_party/npp:install",
56+
"//third_party/camera_library:install",
57+
"//third_party/can_card_library:install",
58+
"//third_party/gpus:install",
59+
"//third_party/localization_msf:install",
60+
"//third_party/ffmpeg:install",
61+
"//third_party/adv_plat:install",
5262
"//scripts:install",
63+
"//tools:install",
64+
], [
5365
"//third_party/absl:install",
5466
"//third_party/ad_rss_lib:install",
67+
"//third_party/tf2:install",
5568
"//third_party/boost:install",
5669
"//third_party/civetweb:install",
5770
"//third_party/eigen3:install",
@@ -79,6 +92,8 @@ install(
7992
"//third_party/adolc:install",
8093
"//third_party/atlas:install",
8194
"//third_party/benchmark:install",
95+
"//third_party/camera_library:install",
96+
"//third_party/can_card_library:install",
8297
"//third_party/ncurses5:install",
8398
"//third_party/sqlite3:install",
8499
"//third_party/tensorrt:install",
@@ -88,57 +103,75 @@ install(
88103
"//third_party/qt5:install",
89104
"//third_party/npp:install",
90105
"//third_party/gpus:install",
91-
"//third_party/tf2:install",
92106
"//third_party/localization_msf:install",
93-
"//third_party/can_card_library:install",
94-
"//third_party/camera_library:install",
95-
"//third_party/rtklib:install",
96107
"//third_party/ffmpeg:install",
97108
"//third_party/adv_plat:install",
109+
"//scripts:install",
110+
"//tools:install",
98111
]),
99112
)
100113

101114
install_src_files(
102-
name = "install_src",
115+
name = "deprecated_install_src",
103116
deps = if_gpu([
104-
"//modules/perception:install_src",
105-
"//modules/planning:install_src",
106-
"//modules/v2x:install_src",
107117
"//third_party/centerpoint_infer_op:install_src",
108118
"//third_party/paddleinference:install_src",
109119
"//third_party/caddn_infer_op:install_src",
120+
"//third_party/camera_library:install_src",
121+
"//third_party/can_card_library:install_src",
122+
"//third_party/tf2:install_src",
123+
124+
"//third_party/absl:install_src",
125+
"//third_party/boost:install_src",
126+
"//third_party/civetweb:install_src",
127+
"//third_party/eigen3:install_src",
128+
"//third_party/gtest:install_src",
129+
"//third_party/ipopt:install_src",
130+
"//third_party/libtorch:install_src",
131+
"//third_party/fastrtps:install_src",
132+
"//third_party/gflags:install_src",
133+
"//third_party/glog:install_src",
134+
"//third_party/nlohmann_json:install_src",
135+
"//third_party/opencv:install_src",
136+
"//third_party/osqp:install_src",
137+
"//third_party/pcl:install_src",
138+
"//third_party/vtk:install_src",
139+
"//third_party/proj:install_src",
140+
"//third_party/protobuf:install_src",
141+
"//third_party/py:install_src",
142+
"//third_party/opengl:install_src",
143+
"//third_party/openh264:install_src",
144+
"//third_party/cpplint:install_src",
145+
"//third_party/portaudio:install_src",
146+
"//third_party/fftw3:install_src",
147+
"//third_party/glew:install_src",
148+
"//third_party/adolc:install_src",
149+
"//third_party/atlas:install_src",
150+
"//third_party/benchmark:install_src",
151+
"//third_party/ncurses5:install_src",
152+
"//third_party/sqlite3:install_src",
153+
"//third_party/tensorrt:install_src",
154+
"//third_party/tinyxml2:install_src",
155+
"//third_party/uuid:install_src",
156+
"//third_party/yaml_cpp:install_src",
157+
"//third_party/qt5:install_src",
158+
"//third_party/npp:install_src",
159+
"//third_party/gpus:install_src",
160+
"//third_party/localization_msf:install_src",
161+
"//third_party/ffmpeg:install_src",
162+
"//third_party/adv_plat:install_src",
163+
"//tools:install_src",
110164
], [
111-
"//cyber:install_src",
112165
"//tools:install_src",
113-
"//modules/common:install_src",
114-
"//modules/data:install_src",
115-
"//modules/common_msgs:install_src",
116-
"//modules/control:install_src",
117-
"//modules/dreamview:install_src",
118-
"//modules/map:install_src",
119-
"//modules/monitor:install_src",
120-
"//modules/planning:install_src",
121-
"//modules/routing:install_src",
122-
"//modules/task_manager:install_src",
123-
"//modules/transform:install_src",
124-
"//modules/audio:install_src",
125-
"//modules/bridge:install_src",
126-
"//modules/calibration:install_src",
127-
"//modules/canbus:install_src",
128-
"//modules/canbus_vehicle:install_src",
129-
"//modules/contrib/cyber_bridge:install_src",
130-
"//modules/drivers:install_src",
131-
"//modules/guardian:install_src",
132-
"//modules/localization:install_src",
133-
"//modules/prediction:install_src",
134-
"//modules/storytelling:install_src",
135-
"//modules/third_party_perception:install_src",
136-
"//modules/tools:install_src",
137166
"//third_party/absl:install_src",
138167
"//third_party/boost:install_src",
139168
"//third_party/civetweb:install_src",
140169
"//third_party/eigen3:install_src",
141170
"//third_party/gtest:install_src",
171+
"//third_party/camera_library:install_src",
172+
"//third_party/can_card_library:install_src",
173+
"//third_party/tf2:install_src",
174+
142175
"//third_party/centerpoint_infer_op:install_src",
143176
"//third_party/ipopt:install_src",
144177
"//third_party/libtorch:install_src",
@@ -171,11 +204,7 @@ install_src_files(
171204
"//third_party/qt5:install_src",
172205
"//third_party/npp:install_src",
173206
"//third_party/gpus:install_src",
174-
"//third_party/tf2:install_src",
175207
"//third_party/localization_msf:install_src",
176-
"//third_party/can_card_library:install_src",
177-
"//third_party/camera_library:install_src",
178-
"//third_party/rtklib:install_src",
179208
"//third_party/ffmpeg:install_src",
180209
"//third_party/adv_plat:install_src",
181210
]),

CPPLINT.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ filter=+build/include_what_you_use
1313
filter=-build/header_guard
1414
filter=+runtime/printf,+runtime/printf_format
1515

16+
filter=-runtime/references
17+
1618
linelength=80
1719
includeorder=standardcfirst

WORKSPACE

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,11 @@ http_archive(
7575
# grpc
7676
http_archive(
7777
name = "com_github_grpc_grpc",
78-
sha256 = "419dba362eaf8f1d36849ceee17c3e2ff8ff12ac666b42d3ff02a164ebe090e9",
78+
sha256 = "2378b608557a4331c6a6a97f89a9257aee2f8e56a095ce6619eea62e288fcfbe",
7979
patches = ["//third_party/absl:grpc.patch"],
8080
strip_prefix = "grpc-1.30.0",
8181
urls = [
82-
"https://apollo-system.cdn.bcebos.com/archive/6.0/v1.30.0.tar.gz",
83-
"https://github.com/grpc/grpc/archive/v1.30.0.tar.gz",
82+
"https://apollo-system.cdn.bcebos.com/archive/8.0/v1.30.0-apollo.tar.gz",
8483
],
8584
)
8685
http_archive(

apollo.sh

+6
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ function main() {
186186
build_opt_gpu)
187187
env ${APOLLO_ENV} bash "${build_sh}" --config=opt --config=gpu "$@"
188188
;;
189+
build_opt_gpu_pnc)
190+
env ${APOLLO_ENV} bash "${build_sh}" --config=opt --config=gpu "cyber planning prediction control routing dreamview external_command tools common_msgs"
191+
;;
192+
build_pnc)
193+
env ${APOLLO_ENV} bash "${build_sh}" --config=dbg --config=gpu "cyber planning prediction control routing dreamview external_command tools common_msgs"
194+
;;
189195
build_prof)
190196
env ${APOLLO_ENV} bash "${build_sh}" --config=prof "$@"
191197
;;

0 commit comments

Comments
 (0)