-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc
28 lines (23 loc) · 936 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
27
28
build --incompatible_enable_cc_toolchain_resolution
build --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
# Use tags=["requires-network"] to opt-out of the enforcement.
build --sandbox_default_allow_network=false
build --incompatible_strict_action_env
build --noexperimental_check_output_files
test --build_tests_only
test --test_output=all
build --conlyopt='-std=c11'
build --cxxopt='-std=c++17'
build --copt='-Wall'
build --copt='-Werror'
build --copt='-Wextra'
build --copt='-Wpedantic'
build --copt='-Wshadow'
build --copt='-Wsign-compare'
build --copt='-Wunreachable-code'
build --copt='-iquotesrc/'
# Required for erenon_bazel_clang_tidy to operate as expected
build:clang-tidy --aspects //bazel/clang_tidy:clang_tidy.bzl%clang_tidy_aspect
build:clang-tidy --output_groups=report
# Optionally override the .clang-tidy config file target
# build:clang-tidy --@erenon_bazel_clang_tidy//:clang_tidy_config=//:clang_tidy_config