Skip to content

Commit

Permalink
distdir: remove in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lx18233184051 authored and storypku committed Aug 21, 2020
1 parent 053a307 commit ccce11e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/apollo_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/apollo_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion scripts/apollo_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/apollo_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ccce11e

Please sign in to comment.