Skip to content
Snippets Groups Projects
Unverified Commit 6bb4e688 authored by Jan Tattermusch's avatar Jan Tattermusch Committed by GitHub
Browse files

Merge pull request #20507 from jtattermusch/fix_win_rbe_opt

Fix windows RBE opt build
parents 2486b0a2 d10fb3ba
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ build:opt --copt=-Wframe-larger-than=16384 ...@@ -12,6 +12,9 @@ build:opt --copt=-Wframe-larger-than=16384
build:dbg --compilation_mode=dbg build:dbg --compilation_mode=dbg
build:windows_opt --compilation_mode=opt
build:windows_dbg --compilation_mode=dbg
build:asan --strip=never build:asan --strip=never
build:asan --copt=-fsanitize=address build:asan --copt=-fsanitize=address
build:asan --copt=-O0 build:asan --copt=-O0
......
...@@ -34,8 +34,7 @@ bazel_setting { ...@@ -34,8 +34,7 @@ bazel_setting {
env_vars { env_vars {
# flags will be passed to bazel invocation by bazel_rbe.bat # flags will be passed to bazel invocation by bazel_rbe.bat
key: "BAZEL_FLAGS" key: "BAZEL_FLAGS"
# TODO(jtattermusch): add --config=dbg once that works value: "--cache_test_results=no --config=windows_dbg"
value: "--cache_test_results=no"
} }
env_vars { env_vars {
......
...@@ -34,7 +34,7 @@ bazel_setting { ...@@ -34,7 +34,7 @@ bazel_setting {
env_vars { env_vars {
# flags will be passed to bazel invocation by bazel_rbe.bat # flags will be passed to bazel invocation by bazel_rbe.bat
key: "BAZEL_FLAGS" key: "BAZEL_FLAGS"
value: "--cache_test_results=no --config=opt" value: "--cache_test_results=no --config=windows_opt"
} }
env_vars { env_vars {
key: "UPLOAD_TEST_RESULTS" key: "UPLOAD_TEST_RESULTS"
......
...@@ -34,6 +34,5 @@ bazel_setting { ...@@ -34,6 +34,5 @@ bazel_setting {
env_vars { env_vars {
# flags will be passed to bazel invocation by bazel_rbe.bat # flags will be passed to bazel invocation by bazel_rbe.bat
key: "BAZEL_FLAGS" key: "BAZEL_FLAGS"
# TODO(jtattermusch): add --config=dbg once that works value: " --config=windows_dbg"
value: ""
} }
...@@ -34,5 +34,5 @@ bazel_setting { ...@@ -34,5 +34,5 @@ bazel_setting {
env_vars { env_vars {
# flags will be passed to bazel invocation by bazel_rbe.bat # flags will be passed to bazel invocation by bazel_rbe.bat
key: "BAZEL_FLAGS" key: "BAZEL_FLAGS"
value: "--config=opt" value: "--config=windows_opt"
} }
startup --host_jvm_args=-Dbazel.DigestFunction=SHA256 startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
# TODO(jtattermusch): Currently building with --compilation_mode=dbg is broken on Windows RBE
# so we need to explicitly override it to use fastbuild.
build:windows_dbg --compilation_mode=fastbuild
build --remote_cache=grpcs://remotebuildexecution.googleapis.com build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com build --remote_executor=grpcs://remotebuildexecution.googleapis.com
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment