generated from upkie/new_agent
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.bazelrc
33 lines (26 loc) · 935 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
29
30
31
32
33
# Bazel configurations
## Host platform
build --compilation_mode=opt
build --copt="-Werror=return-type"
build --cxxopt=-std=c++17
build --incompatible_default_to_explicit_init_py # for upkie imports
coverage --combined_report=lcov
coverage --compilation_mode=opt
coverage --copt="-Werror=return-type"
coverage --cxxopt=-std=c++17
coverage --instrument_test_targets
test --compilation_mode=opt
test --copt="-Werror=return-type"
test --cxxopt=-std=c++17
test --test_output=errors
test --incompatible_default_to_explicit_init_py # for upkie imports
## Target platform: 64-bit Raspberry Pi OS
build:pi64 --compilation_mode=opt
build:pi64 --compiler=clang
build:pi64 --cpu=aarch64
build:pi64 --crosstool_top=@rpi_bazel//tools/cc_toolchain:toolchain
test:pi64 --compilation_mode=opt
test:pi64 --compiler=clang
test:pi64 --cpu=aarch64
test:pi64 --crosstool_top=@rpi_bazel//tools/cc_toolchain:toolchain
test:pi64 --test_output=errors