.bazelrc 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. startup --expand_configs_in_place
  2. startup --max_idle_secs=10800 --connect_timeout_secs=5
  3. startup --host_jvm_args=-XX:+UseParallelGC --host_jvm_args=-Xmx6g --host_jvm_args=-Xms1g
  4. startup --idle_server_tasks --noexperimental_oom_more_eagerly --experimental_oom_more_eagerly_threshold=100
  5. # Show us information about failures.
  6. # build --watchfs
  7. build:ci -j 4
  8. build --experimental_repository_cache_hardlinks
  9. build --experimental_guard_against_concurrent_changes
  10. build --experimental_strict_action_env
  11. build --announce_rc
  12. build --remote_http_cache=http://bazel-cache.bilibili.co/go-common --remote_local_fallback
  13. build --remote_max_connections=0
  14. build:ci --genrule_strategy=standalone --spawn_strategy=standalone
  15. build:office --genrule_strategy=sandboxed --spawn_strategy=sandboxed
  16. build --verbose_failures
  17. build:unit --features=race
  18. test --test_output=errors
  19. test --test_arg=-test.v
  20. test:unit --features=race
  21. test --test_summary=detailed
  22. # Include git version info
  23. build --workspace_status_command build/print-workspace-status.sh
  24. # Make /tmp hermetic
  25. #build --sandbox_tmpfs_path=/tmp
  26. build --experimental_multi_threaded_digest
  27. build --remote_timeout=5
  28. # This flag requires Bazel 0.5.0+
  29. #build --sandbox_fake_username
  30. # Enable go race detection.
  31. test:unit --features=race