Skip to content

Commit

Permalink
fix: core dump of cyber monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
WildBeast114514 committed Jan 8, 2024
1 parent bda6d11 commit c5799c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/apollo_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ function run_bazel() {
if [[ "$(uname -m)" == "x86_64" ]]; then
job_args="--copt=-mavx2 --host_copt=-mavx2 --jobs=${count} --local_ram_resources=HOST_RAM*0.7"
else
job_args="--copt=-march=native --host_copt=-march=native --jobs=${count} --local_ram_resources=HOST_RAM*0.7"
job_args="--copt=-march=native --host_copt=-march=native --jobs=${count} --local_ram_resources=HOST_RAM*0.7 --copt=-fPIC --host_copt=-fPIC"
fi
set -x
bazel ${1,,} ${CMDLINE_OPTIONS} ${job_args} -- ${formatted_targets}
Expand Down
4 changes: 3 additions & 1 deletion scripts/install_dv_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if [ -e "/apollo/.workspace.json" ]; then
cp /apollo/.workspace.json ./
fi
sudo rm -rf modules/studio_connector
sudo cp /etc/ld.so.conf.d/apollo.conf /etc/ld.so.conf.d/apollo_source.conf

buildtool init
buildtool install --legacy sim-obstacle studio-connector
Expand All @@ -49,6 +50,7 @@ buildtool install --legacy sim-obstacle studio-connector
sudo apt remove -y apollo-neo-buildtool
rm -rf ~/apollo_tmp
mv /opt/apollo/neo/setup.sh.bak /opt/apollo/neo/setup.sh
sudo ldconfig

ok "Successfully install dreamview plugins."
ok "Please restart dreamview. Enjoy!"
ok "Please restart dreamview. Enjoy!"

0 comments on commit c5799c1

Please sign in to comment.