Created
January 12, 2024 17:51
-
-
Save adam-singer/12cf6476afaa3f8041cd643d96bff92d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.bazelrc b/.bazelrc | |
index ab767a9305f..8d557d96330 100644 | |
--- a/.bazelrc | |
+++ b/.bazelrc | |
@@ -18,20 +18,39 @@ build:linux --crosstool_top=@mongo_toolchain//:toolchain_suite | |
# remote execution is the default, but only mongodb employees will be able to access | |
# the engflow cluster. External builders should use the local option below | |
# remote execution configs | |
-build --remote_executor=grpcs://sodalite.cluster.engflow.com | |
-build --remote_cache=grpcs://sodalite.cluster.engflow.com | |
-build --bes_backend=grpcs://sodalite.cluster.engflow.com | |
-build --bes_results_url=https://sodalite.cluster.engflow.com/invocation/ | |
-build --experimental_remote_cache_compression=true | |
-build --grpc_keepalive_time=30s | |
+# build --remote_executor=grpcs://sodalite.cluster.engflow.com | |
+# build --remote_cache=grpcs://sodalite.cluster.engflow.com | |
+# build --bes_backend=grpcs://sodalite.cluster.engflow.com | |
+# build --bes_results_url=https://sodalite.cluster.engflow.com/invocation/ | |
+ | |
+# Native link flags | |
+# Use `export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1` to avoid "Error: DEVELOPER_DIR not set." on mac | |
+build --remote_instance_name=main | |
+build --remote_executor=grpc://127.0.0.1:50051 | |
+build --remote_cache=grpc://127.0.0.1:50051 | |
+build --verbose_failures | |
+build --experimental_remote_execution_keepalive | |
+build --cache_test_results=no | |
+build --sandbox_debug | |
+build --remote_grpc_log=/tmp/mongo.grpc.log | |
+build --grpc_keepalive_timeout="180s" | |
+build --grpc_keepalive_time="180s" | |
+build --remote_timeout="180s" | |
+build -s | |
+build --execution_log_json_file=/tmp/mongo.execution.log | |
+# build --profile=/tmp/mongo.profile.gz | |
+# build --record_full_profiler_data | |
+# build --starlark_cpu_profile=/tmp/mongo.cpu_profile.pprof | |
+# Flag not supported | |
+# build --experimental_remote_cache_compression=true | |
build --nolegacy_important_outputs | |
# Authenticate to the EngFlow cluster using mTLS certificate | |
# For mongodb employees, certs can be generated at | |
# https://sodalite.cluster.engflow.com/gettingstarted | |
# then place in the appropriate location as shown below | |
-build --tls_client_certificate=/engflow/creds/engflow.crt | |
-build --tls_client_key=/engflow/creds/engflow.key | |
+# build --tls_client_certificate=/engflow/creds/engflow.crt | |
+# build --tls_client_key=/engflow/creds/engflow.key | |
# if you don't have access to the remote execution cluster above, use the local config | |
# described below. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment