-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- cyber: - a6160493e7 fix: fix container name issue - 799ed5600f chore: add env setup cmd to rcfile after container created - 6c5c3267a1 chore: enable timezone mutable in container - 81ab328121 chore: change aem copy dest - 2e2b96521a chore: enable aem auto complete - be2a9ea41e chore: change aem path in container and fix permission issue for setup.sh - 28e9b37502 chore: add geographiclib and gtsam - 27f9d02b77 chore: upgrade openssl to 3.0.2 in u22 env - 11b24ab9c5 chore: add lib symbolic link for openssl-3 - 82aa48e946 fix(cyber): fix args file path found - f2b995fcae fix: aem remove issue for env before 9.x - docs: - 887f342fdb fix: fix install_src issue and docs TOF - 6df71bab19 docs: update README.md - dreamview: - 78cf80c513 merge: merge branch 9.2 dvp frontend into preview - 9763d2fb72 build(dvp): build dreamview_plus frontend - 60f0cfe153 build(dvp): build dreamview_plus frontend - 8491ac8cef fix: 修复第一次启动dreamview时切换simControl失败的问题 - 06bbeb4e4e build(dvp): build dreamviewplus - planning: - e7ec14fa03 fix(planning): Setting use_sqp to true in open space scene Signed-off-by: liangjinping <[email protected]> Change-Id: I105fe6239ea9a5e07f8298ac0a74d690c6a42e55
- Loading branch information
Showing
124 changed files
with
128,962 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
aem/ansible/roles/legacy_scripts/files/installers/gtsam-4.2_compilation_flags_aarch64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 5bad53988..ba50de92a 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -29,6 +29,9 @@ set (CMAKE_PROJECT_VERSION_MAJOR ${GTSAM_VERSION_MAJOR}) | ||
set (CMAKE_PROJECT_VERSION_MINOR ${GTSAM_VERSION_MINOR}) | ||
set (CMAKE_PROJECT_VERSION_PATCH ${GTSAM_VERSION_PATCH}) | ||
|
||
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native") | ||
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") | ||
+ | ||
############################################################################### | ||
# Gather information, perform checks, set defaults | ||
|
14 changes: 14 additions & 0 deletions
14
aem/ansible/roles/legacy_scripts/files/installers/gtsam-4.2_compilation_flags_x86_64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 5bad53988..259b68ea4 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -29,6 +29,9 @@ set (CMAKE_PROJECT_VERSION_MAJOR ${GTSAM_VERSION_MAJOR}) | ||
set (CMAKE_PROJECT_VERSION_MINOR ${GTSAM_VERSION_MINOR}) | ||
set (CMAKE_PROJECT_VERSION_PATCH ${GTSAM_VERSION_PATCH}) | ||
|
||
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mavx2") | ||
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2") | ||
+ | ||
############################################################################### | ||
# Gather information, perform checks, set defaults | ||
|
45 changes: 45 additions & 0 deletions
45
aem/ansible/roles/legacy_scripts/files/installers/install_GeographicLib.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/env bash | ||
|
||
############################################################################### | ||
# Copyright 2024 The Apollo Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
############################################################################### | ||
|
||
# Fail on first error. | ||
set -e | ||
|
||
INSTALL_ATOM=${INSTALL_ATOM:-GeographicLib-2.3} | ||
|
||
SCRIPT_DIR="$( | ||
cd "$(dirname "${BASH_SOURCE[0]}")" | ||
pwd -P | ||
)" | ||
[[ -f "${SCRIPT_DIR}/installer_base.sh" ]] && source ${SCRIPT_DIR}/installer_base.sh | ||
[[ -f "${SCRIPT_DIR}/cmake_package_install_funcs.sh" ]] && source ${SCRIPT_DIR}/cmake_package_install_funcs.sh | ||
|
||
if ldconfig -p | grep libGeographicLib.so | grep -q /usr/lib; then | ||
info "libGeographicLib was already installed" | ||
exit 0 | ||
fi | ||
|
||
# fallback | ||
# SRC_URI="${SRC_URI:-https://jaist.dl.sourceforge.net/project/geographiclib/distrib-C%2B%2B/${PN}-${PV}.tar.gz}" | ||
SRC_URI="${SRC_URI:-https://apollo-system.cdn.bcebos.com/archive/10.0/${PN}-${PV}.tar.gz}" | ||
|
||
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | ||
# Being sourced, do nothing | ||
: | ||
else | ||
install_package "$@" | ||
fi |
68 changes: 68 additions & 0 deletions
68
aem/ansible/roles/legacy_scripts/files/installers/install_gtsam.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
#!/usr/bin/env bash | ||
|
||
############################################################################### | ||
# Copyright 2024 The Apollo Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
############################################################################### | ||
|
||
# Fail on first error. | ||
set -e | ||
|
||
INSTALL_ATOM=${INSTALL_ATOM:-gtsam-4.2} | ||
|
||
SCRIPT_DIR="$( | ||
cd "$(dirname "${BASH_SOURCE[0]}")" | ||
pwd -P | ||
)" | ||
[[ -f "${SCRIPT_DIR}/installer_base.sh" ]] && source ${SCRIPT_DIR}/installer_base.sh | ||
[[ -f "${SCRIPT_DIR}/cmake_package_install_funcs.sh" ]] && source ${SCRIPT_DIR}/cmake_package_install_funcs.sh | ||
|
||
if ldconfig -p | grep libgtsam.so | grep -q /usr/lib; then | ||
info "gtsam was already installed" | ||
exit 0 | ||
fi | ||
|
||
# fallback | ||
# SRC_URI="${SRC_URI:-https://github.com/borglab/gtsam/archive/refs/tags/${PV}.tar.gz} -> ${PN}-${PV}.tar.gz}" | ||
SRC_URI="${SRC_URI:-https://apollo-system.cdn.bcebos.com/archive/10.0/${PN}-${PV}.tar.gz}" | ||
PATCHES=( | ||
"${FILESDIR}/gtsam-4.2_compilation_flags_$(uname -m).patch" | ||
) | ||
|
||
src_prepare_pre() { | ||
# apt_get_update_and_install libboost-all-dev | ||
apt_get_update_and_install apollo-neo-3rd-boost | ||
# TODO: pack to 3rd-boost release tarball | ||
boost_cmake_files_url='https://apollo-system.cdn.bcebos.com/archive/10.0/3rd-boost_1.74.0_cmake_files.tar.gz' | ||
curl -sSL "${boost_cmake_files_url}" | tar xz -C /opt/apollo/neo/packages/3rd-boost/latest | ||
} | ||
|
||
cmake_src_configure() { | ||
mkdir -p "${WORKDIR}/${PF}_build" | ||
pushd "${WORKDIR}/${PF}_build" | ||
cmake ${WORKDIR}/${PF} \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \ | ||
-DBoost_NO_SYSTEM_PATHS="true" \ | ||
-DBOOST_ROOT="${BOOST_ROOT:-/opt/apollo/neo/packages/3rd-boost/latest}" \ | ||
-DCMAKE_BUILD_TYPE=Release | ||
popd | ||
} | ||
|
||
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | ||
# Being sourced, do nothing | ||
: | ||
else | ||
install_package "$@" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
aem/ansible/roles/ordinary_modules/tasks/Ubuntu.18.04.x86_64.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
- name: Install openssl | ||
become: true | ||
ansible.builtin.shell: | ||
cmd: /opt/apollo/installers/install_openssl.sh | ||
executable: /bin/bash | ||
args: [] | ||
environment: | ||
INSTALL_ATOM: "openssl-1.1.1w" | ||
INSTALL_PREFIX: "/opt/apollo/pkgs/openssl" |
11 changes: 11 additions & 0 deletions
11
aem/ansible/roles/ordinary_modules/tasks/Ubuntu.20.04.aarch64.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
- name: Install openssl | ||
become: true | ||
ansible.builtin.shell: | ||
cmd: /opt/apollo/installers/install_openssl.sh | ||
executable: /bin/bash | ||
args: [] | ||
environment: | ||
INSTALL_ATOM: "openssl-1.1.1w" | ||
INSTALL_PREFIX: "/opt/apollo/pkgs/openssl" |
11 changes: 11 additions & 0 deletions
11
aem/ansible/roles/ordinary_modules/tasks/Ubuntu.20.04.x86_64.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
- name: Install openssl | ||
become: true | ||
ansible.builtin.shell: | ||
cmd: /opt/apollo/installers/install_openssl.sh | ||
executable: /bin/bash | ||
args: [] | ||
environment: | ||
INSTALL_ATOM: "openssl-1.1.1w" | ||
INSTALL_PREFIX: "/opt/apollo/pkgs/openssl" |
11 changes: 11 additions & 0 deletions
11
aem/ansible/roles/ordinary_modules/tasks/Ubuntu.22.04.x86_64.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
|
||
- name: Install openssl | ||
become: true | ||
ansible.builtin.shell: | ||
cmd: /opt/apollo/installers/install_openssl.sh | ||
executable: /bin/bash | ||
args: [] | ||
environment: | ||
INSTALL_ATOM: "openssl-3.0.2" | ||
INSTALL_PREFIX: "/opt/apollo/pkgs/openssl" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# usage: source auto_complete.bash | ||
|
||
COMMANDS="start start_cpu start_gpu enter remove stopall bootstrap build install init profile create list update setup_host usage -h --help" | ||
|
||
function _complete_func() { | ||
COMPREPLY=() | ||
local cur="${COMP_WORDS[COMP_CWORD]}" | ||
local cmds="$(echo ${COMMANDS} | xargs)" | ||
|
||
COMPREPLY=($(compgen -W "${cmds}" -- ${cur})) | ||
|
||
} | ||
|
||
complete -F _complete_func -o default aem |
Oops, something went wrong.