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