-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
32 lines (25 loc) · 1.05 KB
/
.bazelrc
File metadata and controls
32 lines (25 loc) · 1.05 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
build --enable_runfiles
startup --windows_enable_symlinks
common --enable_platform_specific_config
build:windows_opt --compilation_mode=opt
build:windows_dbg --compilation_mode=dbg
build:windows --cxxopt='/std:c++20'
build:linux --cxxopt=-std=c++20 --cxxopt=-Wall --cxxopt=-Werror --cxxopt=-fno-exceptions
build:macos --cxxopt=-std=c++20 --cxxopt=-Wall --cxxopt=-Werror --cxxopt=-fno-exceptions
build:opt --linkopt=-s
build:asan --strip=never
build:asan --copt=-fsanitize=address
build:asan --copt=-O0
build:asan --copt=-g
build:asan --copt=-fno-omit-frame-pointer
build:asan --copt=-DADDRESS_SANITIZER # used by absl
build:asan --linkopt=-fsanitize=address
build:asan --action_env=ASAN_OPTIONS=color=always
build:ubsan --strip=never
build:ubsan --copt=-fsanitize=undefined --copt=-fsanitize-trap=undefined
build:ubsan --copt=-O0
build:ubsan --copt=-g
build:ubsan --copt=-fno-omit-frame-pointer
# build:ubsan --copt=-DADDRESS_SANITIZER # used by absl
build:ubsan --linkopt=-fsanitize=undefined
# build:ubsan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always