提交 469e02d1 编写于 作者: S storypku 提交者: Liu Jiaming

Build: --config=cpu/gpu not written into .apollo.bazelrc

上级 31af1157
......@@ -34,12 +34,6 @@ ARCH="$(uname -m)"
function config_noninteractive() {
echo "${STARTUP_TXT}" > "${BAZEL_CONF}"
determine_gpu_use
if [ "${USE_GPU}" -eq 1 ]; then
echo "build --config=gpu" >> "${BAZEL_CONF}"
else
echo "build --config=cpu" >> "${BAZEL_CONF}"
fi
echo -e "build --action_env GCC_HOST_COMPILER_PATH=\"/usr/bin/${ARCH}-linux-gnu-gcc-7\"" >> "${BAZEL_CONF}"
cat "${TOP_DIR}/tools/apollo.bazelrc.sample" >> "${BAZEL_CONF}"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册