-
Notifications
You must be signed in to change notification settings - Fork 6
/
.bazelrc
26 lines (22 loc) · 970 Bytes
/
.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
build -c opt
# Make sure we still detect assertion failures
build --copt=-UNDEBUG
build --host_copt=-UNDEBUG
build --announce_rc
build --cxxopt=-std=c++17
build --host_cxxopt=-std=c++17
build --incompatible_enable_cc_toolchain_resolution
build:ci --aspects=//bazel/rules/clang_format:defs.bzl%clang_format_aspect
build:ci --output_groups=+clang_format_checks
build:dbg -c dbg
build:dbg --strategy=ObjcLink=local
build:dbg --strategy=CppLink=local
# support for uber/hermetic_cc_toolchain
common --enable_platform_specific_config
build:linux --sandbox_add_mount_pair=/tmp
build:macos --sandbox_add_mount_pair=/var/tmp
build:bootstrap_linux_amd64 --platforms @zig_sdk//platform:linux_amd64
build:bootstrap_linux_amd64 --extra_toolchains @zig_sdk//toolchain:linux_amd64_gnu.2.28
build:bootstrap_macos_arm64 --platforms @zig_sdk//platform:darwin_arm64
build:bootstrap_macos_arm64 --extra_toolchains @zig_sdk//toolchain:darwin_arm64
try-import %workspace%/.bazelrc.local