Skip to content

Commit e3749ed

Browse files
quning18fengqikai1414
authored andcommitted
apollo-platform: enhance build process for arm architecture
1. separate more thirdparty lib between x86 and arm 2. cleanup some unused files for arm version, we will install them on px2 directly
1 parent e2db26f commit e3749ed

File tree

685 files changed

+30360
-1
lines changed

Some content is hidden

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

685 files changed

+30360
-1
lines changed

ros/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ MACHINE_ARCH="$(uname -m)"
1313

1414
INSTALL_PATH="${CURRENT_PATH}/install/ros_$MACHINE_ARCH"
1515
FASTRTPS_PATH="${CURRENT_PATH}/third_party/fast-rtps"
16+
TP_LIB_PATH="${CURRENT_PATH}/third_party/lib"
1617

1718
BUILD_TYPE="Release"
1819
export LD_LIBRARY_PATH="${CURRENT_PATH}/third_party/fast-rtps/lib:$LD_LIBRARY_PATH"
@@ -66,8 +67,9 @@ function clean() {
6667

6768
function build_ros() {
6869

69-
rm -f ${FASTRTPS_PATH}
70+
rm -f ${FASTRTPS_PATH} ${TP_LIB_PATH}
7071
ln -sf ${FASTRTPS_PATH}_${MACHINE_ARCH} ${FASTRTPS_PATH} &&
72+
ln -sf ${TP_LIB_PATH}_${MACHINE_ARCH} ${TP_LIB_PATH} &&
7173

7274
./catkin/bin/catkin_make_isolated --install --source . \
7375
--install-space ${INSTALL_PATH} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \

ros/third_party/lib

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/nvidia/apollo-platform/ros/third_party/lib_aarch64
207 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Software License Agreement (BSD License)
2+
#
3+
# Copyright (c) 2012, Willow Garage, Inc.
4+
# All rights reserved.
5+
#
6+
# Redistribution and use in source and binary forms, with or without
7+
# modification, are permitted provided that the following conditions
8+
# are met:
9+
#
10+
# * Redistributions of source code must retain the above copyright
11+
# notice, this list of conditions and the following disclaimer.
12+
# * Redistributions in binary form must reproduce the above
13+
# copyright notice, this list of conditions and the following
14+
# disclaimer in the documentation and/or other materials provided
15+
# with the distribution.
16+
# * Neither the name of Willow Garage, Inc. nor the names of its
17+
# contributors may be used to endorse or promote products derived
18+
# from this software without specific prior written permission.
19+
#
20+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23+
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24+
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25+
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27+
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29+
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30+
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31+
# POSSIBILITY OF SUCH DAMAGE.
32+
33+
"""
34+
Library for retrieving information about catkin packages.
35+
"""
36+
37+
__version__ = '0.2.10'

0 commit comments

Comments
 (0)