Merge pull request #17158 from jtattermusch/foundry_opt_dbg_config

use bazel --config= for all foundry builds
pull/17171/head
Jan Tattermusch 6 years ago committed by GitHub
commit 7531e6a346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/bazel.rc
  2. 2
      tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh
  3. 2
      tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh
  4. 2
      tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh
  5. 2
      tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_opt.sh
  6. 4
      tools/remote_build/README.md

@ -6,8 +6,11 @@
build --client_env=CC=clang
build --copt=-DGRPC_BAZEL_BUILD
build:opt --compilation_mode=opt
build:opt --copt=-Wframe-larger-than=16384
build:dbg --compilation_mode=dbg
build:asan --strip=never
build:asan --copt=-fsanitize=address
build:asan --copt=-O0

@ -16,5 +16,5 @@
set -ex
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="-c dbg --test_timeout=300,450,1200,3600 --cache_test_results=no"
EXTRA_FLAGS="--config=dbg --test_timeout=300,450,1200,3600 --cache_test_results=no"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -16,5 +16,5 @@
set -ex
export UPLOAD_TEST_RESULTS=true
EXTRA_FLAGS="-c opt --test_timeout=300,450,1200,3600 --cache_test_results=no"
EXTRA_FLAGS="--config=opt --test_timeout=300,450,1200,3600 --cache_test_results=no"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -15,5 +15,5 @@
set -ex
EXTRA_FLAGS="-c dbg --test_timeout=300,450,1200,3600"
EXTRA_FLAGS="--config=dbg --test_timeout=300,450,1200,3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -15,5 +15,5 @@
set -ex
EXTRA_FLAGS="-c opt --test_timeout=300,450,1200,3600"
EXTRA_FLAGS="--config=opt --test_timeout=300,450,1200,3600"
github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}"

@ -17,10 +17,10 @@ and tests run by Kokoro CI.
## Running remote build manually from dev workstation
Run from repository root:
Run from repository root (opt, dbg):
```
# manual run of bazel tests remotely on Foundry
bazel --bazelrc=tools/remote_build/manual.bazelrc test -c opt //test/...
bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=opt //test/...
```
Sanitizer runs (asan, msan, tsan, ubsan):

Loading…
Cancel
Save