| # Remote Build Execution requires a strong hash function, such as SHA256. |
| startup --host_jvm_args=-Dbazel.DigestFunction=SHA256 |
| |
| build --workspace_status_command tools/buildstamp/get_workspace_status |
| build --auto_cpu_environment_group=//buildenv:cpu |
| |
| # Ensure clang is used, by default, over any other C++ installation (e.g. gcc). |
| build --client_env=CC=clang |
| |
| # Allow the user to override the Bison installation. |
| build --action_env=BISON |
| |
| # Ensure environment variables are static across machines; allows for cross-user caching. |
| build --experimental_strict_action_env |
| |
| # By default, compile for Java 8 |
| build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java8 |
| |
| # Ensure that we do not use an older Java version for the --javabase. |
| build --javabase=@bazel_tools//tools/jdk:host_jdk |
| |
| # Use the RBE instance in the kythe-repo project |
| build:remote --remote_instance_name=projects/kythe-repo/instances/default_instance --project_id=kythe-repo |
| |
| build:remote --auth_enabled=true |
| build:remote --tls_enabled=true |
| |
| build:remote --jobs=50 |
| build:remote --remote_timeout=3600 |
| build:remote --remote_cache=remotebuildexecution.googleapis.com |
| build:remote --remote_executor=remotebuildexecution.googleapis.com |
| |
| # TODO(schroederc): add buildeventservice |
| # build:remote --bes_backend="buildeventservice.googleapis.com" |
| # build:remote --bes_timeout=60s |
| # build:remote --bes_results_url="https://source.cloud.google.com/results/invocations/" |
| |
| build:remote --spawn_strategy=remote |
| build:remote --strategy=Javac=remote |
| build:remote --strategy=Closure=remote |
| build:remote --genrule_strategy=remote |
| build:remote --define=EXECUTOR=remote |
| |
| build:remote --extra_execution_platforms=//tools/platforms:rbe |
| build:remote --host_platform=//tools/platforms:rbe |
| build:remote --platforms=//tools/platforms:rbe |
| |
| build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 |
| build:remote --crosstool_top=@bazel_toolchains//configs/ubuntu16_04_clang/1.1/bazel_0.20.0/default:toolchain |
| build:remote --extra_toolchains=@bazel_toolchains//configs/ubuntu16_04_clang/1.1/bazel_0.20.0/cpp:cc-toolchain-clang-x86_64-default |
| |
| build:remote --javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk10 |