提交 b21b72b0 编写于 作者: S storypku

Build: Try to fix aarch64 gpu issues

上级 dbdb0ce1
......@@ -78,6 +78,10 @@ apt-get -y update && \
zip \
xz-utils
if [[ "${ARCH}" == "aarch64" ]]; then
apt-get -y install kmod
fi
##----------------##
## SUDO ##
##----------------##
......
......@@ -16,6 +16,7 @@ set -e
function config_noninteractive() {
local bzl_cfg_file="${APOLLO_ROOT_DIR}/.apollo.bazelrc"
echo "${STARTUP_TXT}" > "${bzl_cfg_file}"
determine_gpu_use
if [ "${USE_GPU}" -eq 1 ]; then
echo "build --config=gpu" >> "${bzl_cfg_file}"
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册