-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.bazelrc
More file actions
44 lines (38 loc) · 1.46 KB
/
.bazelrc
File metadata and controls
44 lines (38 loc) · 1.46 KB
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
common --enable_bzlmod
# CI-specific configuration
build:ci --loading_phase_threads=1
build:ci --jobs=2
build:ci --verbose_failures
build:ci --experimental_repository_cache_hardlinks
build:ci --repository_cache=~/.cache/bazel/_bazel_runner/cache/repos/v1
build:ci --disk_cache=~/.cache/bazel/_bazel_runner/cache/cas
build --enable_platform_specific_config
build --features=-supports_dynamic_linker
build --copt="-Wall"
build --cxxopt="-std=c++17"
build --host_cxxopt="-std=c++17"
build:windows --copt=/wd4716
build:windows --cxxopt="/std:c++17"
build:windows --host_cxxopt="/std:c++17"
# Pass PATH variable from the environment
build --action_env=PATH
# Common flags for Clang
build:clang --action_env=BAZEL_COMPILER=clang
build:clang --action_env=CC=clang --action_env=CXX=clang++
build:clang --linkopt=-fuse-ld=lld
# Coverage options
coverage --config=coverage
coverage --build_tests_only
build:coverage --config=clang
build:coverage --action_env=BAZEL_USE_LLVM_NATIVE_COVERAGE=1
build:coverage --action_env=GCOV=llvm-profdata
build:coverage --action_env=LLVM_COV=llvm-cov
build:coverage --combined_report=lcov
build:coverage --experimental_use_llvm_covmap
build:coverage --experimental_generate_llvm_lcov
build:coverage --collect_code_coverage
build:coverage --instrumentation_filter="//source[/:],//cpp2sky[/:]"
build:coverage --strategy=TestRunner=local
build:coverage --strategy=CoverageReport=local
build:coverage --test_tag_filters=-nocoverage
try-import %workspace%/user.bazelrc