-
Notifications
You must be signed in to change notification settings - Fork 12
/
.bazelrc
89 lines (77 loc) · 3.76 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Options common for all EngFlow remote configurations.
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
common --@aspect_rules_ts//ts:default_to_tsc_transpiler
common --noincompatible_check_sharding_support
build --java_runtime_version=remotejdk_11
build --java_language_version=11
build:engflow_common --jobs=40
build:engflow_common --define=EXECUTOR=remote
build:engflow_common --disk_cache=
build:engflow_common --experimental_inmemory_dotd_files
build:engflow_common --experimental_inmemory_jdeps_files
build:engflow_common --incompatible_strict_action_env=true
build:engflow_common --remote_timeout=3600
build:engflow_common --grpc_keepalive_time=30s
build:engflow_common --legacy_important_outputs=false
build:engflow_common --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
# Options for continuous testing.
build:ci --color=yes
build:ci --curses=yes
build:ci --show_timestamps
build:ci --announce_rc
build:ci --test_output=summary
build:ci --show_progress_rate_limit=2.0
build:ci --nobuild_runfile_links
build:ci --keep_going
# Additional clang toolchain options for automatically configured toolchains.
build --cxxopt="-std=c++14"
build --host_cxxopt="-std=c++14"
build:clang --cxxopt="-fno-exceptions"
build:clang --host_cxxopt="-fno-exceptions"
build:clang --cxxopt="-fvisibility=hidden"
build:clang --host_cxxopt="-fvisibility=hidden"
# Platform-specific options for each supported platform.
build:remote_linux_x64 --extra_execution_platforms=//platform/linux_x64
build:remote_linux_x64 --host_platform=//platform/linux_x64
build:remote_linux_x64 --platforms=//platform/linux_x64
build:remote_linux_x64 --extra_toolchains=//platform/linux_x64:cc-toolchain
build:remote_macos_x64 --config=clang
build:remote_macos_x64 --host_platform=//platform/macos_x64
build:remote_macos_x64 --platforms=//platform/macos_x64
build:remote_macos_x64 --macos_minimum_os=12
build:remote_macos_x64 --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
build:remote_macos_x64 --host_action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
build:remote_windows_x64 --host_platform=//platform/windows_x64
build:remote_windows_x64 --platforms=//platform/windows_x64
build:remote_windows_x64 --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
build:remote_windows_x64 --extra_execution_platforms=//platform/windows_x64
build:remote_windows_x64 --extra_toolchains=//platform/windows_x64:cc-toolchain
# Options for private EngFlow clusters.
# To use on your own cluster, change the URLs to your own endpoint.
build:opal --config=engflow_common
build:opal --config=opal_bes
build:opal --config=opal_auth
build:opal --remote_instance_name=example-oss
build:opal --remote_executor=grpcs://opal.cluster.engflow.com
build:opal_bes --bes_backend=grpcs://opal.cluster.engflow.com
build:opal_bes --bes_instance_name=example-oss
build:opal_bes --bes_lifecycle_events
build:opal_bes --bes_results_url=https://opal.cluster.engflow.com/invocations/example-oss/
build:magnesite --config=engflow_common
build:magnesite --config=magnesite_bes
build:magnesite --config=magnesite_auth
build:magnesite --remote_executor=grpcs://magnesite.cluster.engflow.com
build:magnesite_bes --bes_backend=grpcs://magnesite.cluster.engflow.com
build:magnesite_bes --bes_lifecycle_events
build:magnesite_bes --bes_results_url=https://magnesite.cluster.engflow.com/invocation/
# To authenticate with the clusters above, create a .bazelrc.user file.
# This file is not checked into Git because it refers to local file system paths.
#
# It could contain (for example for mTLS authentication):
#
# build:opal_auth --tls_client_certificate=/home/example/.engflow/opal/engflow.crt
# build:opal_auth --tls_client_key=/home/example/.engflow/opal/engflow.key
#
# You can obtain an mTLS certificate by visiting the cluster's "Getting Started"
# page, after logging in.
try-import .bazelrc.user