提交 ccce11e5 编写于 作者: L liuxu 提交者: Liu Jiaming

distdir: remove in scripts

上级 053a307e
......@@ -129,7 +129,7 @@ function _parse_cmdline_arguments() {
function _run_bazel_build_impl() {
local job_args="--jobs=$(nproc) --local_ram_resources=HOST_RAM*0.7"
bazel build --distdir="${APOLLO_CACHE_DIR}/distdir" ${job_args} $@
bazel build ${job_args} $@
}
function bazel_build() {
......
......@@ -17,7 +17,7 @@
###############################################################################
TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
source "${TOP_DIR}/cyber/setup.sh"
source "${TOP_DIR}/cyber/setup.bash"
# STAGE="${STAGE:-dev}"
: ${STAGE:=dev}
......
......@@ -25,7 +25,7 @@ source "${TOP_DIR}/scripts/apollo.bashrc"
: ${STAGE:=dev}
function _cpp_lint_impl() {
bazel test --distdir="${APOLLO_CACHE_DIR}" --config=cpplint "$@"
bazel test --config=cpplint "$@"
}
function run_cpp_lint() {
......
......@@ -143,7 +143,7 @@ function _parse_cmdline_arguments() {
function _run_bazel_test_impl() {
local job_args="--jobs=$(nproc) --local_ram_resources=HOST_RAM*0.7"
bazel test --distdir="${APOLLO_CACHE_DIR}/distdir" ${job_args} $@
bazel test ${job_args} $@
}
function bazel_test() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册