-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.bazelrc
29 lines (21 loc) · 814 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
common --noenable_bzlmod
build --incompatible_enable_cc_toolchain_resolution
build --features=c++20
build --features=-c++17
build --compiler=compiler
build --nostart_end_lib
build --strip never
test --test_output=errors
build:host --platforms=@local_config_platform//:host
build:host --linkopt=-lrt
build:host --copt=-Werror
build:host --copt=-Wno-parentheses-equality
build:target --platforms=@com_github_mjbots_rules_mbed//:stm32g4
build:target --copt=-Werror
build:target --copt=-Wdouble-promotion
# The following are used to work around
# https://github.com/bazelbuild/bazel/issues/12036 as there is
# otherwise no way to get the bazel-out directory to be different
# across platforms.
build:target --crosstool_top=@com_github_mjbots_rules_mbed//tools/cc_toolchain:toolchain
build:target --cpu=stm32g4