-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.bazelrc
More file actions
34 lines (29 loc) · 1.09 KB
/
.bazelrc
File metadata and controls
34 lines (29 loc) · 1.09 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
33
34
test --test_output=errors
build --cxxopt='-std=c++20'
build --cxxopt='-Wno-delete-non-abstract-non-virtual-dtor'
build --cxxopt='-Wno-self-assign-overloaded'
build --cxxopt='-Wno-self-move'
# ADD --spawn_strategy=local to get debug symbols on Mac for filenames and line numbers in ASAN output.
# https://www.smileykeith.com/2025/09/21/understanding-apple-debug-info/
build:asan --strip=never
build:asan --copt -fsanitize=address
build:asan --copt -DADDRESS_SANITIZER
build:asan --copt -fno-sanitize-recover=all
build:asan --copt -O1
build:asan --copt -g
build:asan --copt -fno-omit-frame-pointer
build:asan --linkopt -fsanitize=address
build:ubsan --strip=never
build:ubsan --copt -fsanitize=undefined
build:ubsan --copt -fno-sanitize-recover=all
build:ubsan --copt -O1
build:ubsan --copt -g
build:ubsan --copt -fno-omit-frame-pointer
build:ubsan --linkopt -fsanitize=undefined
build:tsan --strip=never
build:tsan --copt -fsanitize=thread
build:tsan --copt -fno-sanitize-recover=all
build:tsan --copt -O1
build:tsan --copt -g
build:tsan --copt -fno-omit-frame-pointer
build:tsan --linkopt -fsanitize=thread