| build --workspace_status_command="python3 ./tools/workspace_status.py" |
| build --repository_cache=~/.gerritcodereview/bazel-cache/repository |
| build --action_env=PATH |
| build --disk_cache=~/.gerritcodereview/bazel-cache/cas |
| |
| # Builds using remotejdk_11, executes using remotejdk_11 or local_jdk |
| build --java_language_version=11 |
| build --java_runtime_version=remotejdk_11 |
| build --tool_java_language_version=11 |
| build --tool_java_runtime_version=remotejdk_11 |
| |
| # Builds using remotejdk_17, executes using remotejdk_17 or local_jdk |
| build:java17 --java_language_version=17 |
| build:java17 --java_runtime_version=remotejdk_17 |
| build:java17 --tool_java_language_version=17 |
| build:java17 --tool_java_runtime_version=remotejdk_17 |
| |
| # Builds and executes on RBE using remotejdk_11 |
| build:remote --java_language_version=11 |
| build:remote --java_runtime_version=remotejdk_11 |
| build:remote --tool_java_language_version=11 |
| build:remote --tool_java_runtime_version=remotejdk_11 |
| |
| # Builds and executes on RBE using remotejdk_17 |
| build:remote17 --java_language_version=17 |
| build:remote17 --java_runtime_version=remotejdk_17 |
| build:remote17 --tool_java_language_version=17 |
| build:remote17 --tool_java_runtime_version=remotejdk_17 |
| |
| # workaround for https://github.com/bazelbuild/bazel/issues/17956 on MacOS 13.3 and XCode 14.3 |
| build --host_conlyopt=-std=c90 |
| |
| # Enable strict_action_env flag to. For more information on this feature see |
| # https://groups.google.com/forum/#!topic/bazel-discuss/_VmRfMyyHBk. |
| # This will be the new default behavior at some point (and the flag was flipped |
| # shortly in 0.21.0 - https://github.com/bazelbuild/bazel/issues/7026). Remove |
| # this flag here once flipped in Bazel again. |
| build --incompatible_strict_action_env |
| |
| build --announce_rc |
| |
| test --build_tests_only |
| test --test_output=errors |
| test --java_toolchain=//tools:error_prone_warnings_toolchain_java11 |
| |
| import %workspace%/tools/remote-bazelrc |