-
Notifications
You must be signed in to change notification settings - Fork 6
/
.bazelrc
32 lines (25 loc) · 1.22 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
build --apple_platform_type=macos
build --copt="-Wno-builtin-macro-redefined" --copt="-Wno-macro-redefined"
build -c opt
# This apple_debug configure is taken from
# LICENSE: BSD
# URL: https://github.com/RobotLocomotion/drake/blob/47987499486349ba47ece6f30519aaf8f868bbe9/tools/cc_toolchain/bazel.rc
#
### Debug symbols on OS X. ###
# See https://github.com/bazelbuild/bazel/issues/2537
build:apple_debug --spawn_strategy=standalone
build:apple_debug --genrule_strategy=standalone
build:apple_debug --compilation_mode dbg
# We don't actually use APPLE_DEBUG in code. It's just here to invalidate any
# sandboxed .o files that might be in cache if a developer tried to build
# with --compilation_mode=dbg instead of --config=apple_debug.
build:apple_debug --copt="-DAPPLE_DEBUG"
build:node_binding --define node_binding=true
build:node_binding --define framework_shared_object=true
build:py_binding --define py_binding=true
build:py_binding --define framework_shared_object=true
build:wasm_binding --crosstool_top=//toolchain/emscripten
build:wasm_binding --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build:wasm_binding --define wasm_binding=true
# Put user-specific options in .bazelrc.user
try-import %workspace%/.bazelrc.user