-
Notifications
You must be signed in to change notification settings - Fork 262
/
.bazelrc
35 lines (25 loc) · 1.23 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
###############################################################################
# Common flags that apply to all configurations.
# Use sparingly for things common to all compilers and platforms.
###############################################################################
# Enable Bzlmod for every Bazel command
common --enable_bzlmod
# Prevent invalid caching if input files are modified during a build.
build --experimental_guard_against_concurrent_changes
###############################################################################
# Options for continuous integration.
###############################################################################
# Speedup bazel using a ramdisk.
build:ci --sandbox_base=/dev/shm
# Show as many errors as possible.
build:ci --keep_going
# Show subcommands when building
build:ci --subcommands=true
# Make sure we test for C99 compliance when building the library
build:ci --conlyopt=-std=c99
# Show test errors.
test:ci --test_output=errors
###############################################################################
# The user.bazelrc file is not checked in but available for local mods.
# Always keep this at the end of the file so that user flags override.
try-import %workspace%/user.bazelrc