Skip to content

Commit b60296a

Browse files
committed
iox-eclipse-iceoryx#1547 Add bazel tsan build config
1 parent b378823 commit b60296a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.bazelrc

+9
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ build:usan --linkopt="-fsanitize=undefined"
2222

2323
# usan clang
2424
build:clang_usan --config=clang --config=usan
25+
26+
# tsan gcc
27+
build:tsan --cxxopt="-fsanitize=thread"
28+
build:tsan --cxxopt="-fno-omit-frame-pointer"
29+
build:tsan --cxxopt="-g" --cxxopt="-O2" --strip=never
30+
build:tsan --linkopt="-fsanitize=thread"
31+
32+
# tsan clang
33+
build:clang_tsan --config=clang --config=tsan

0 commit comments

Comments
 (0)