Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1547 Add bazel tsan build config
Browse files Browse the repository at this point in the history
  • Loading branch information
phongt committed Jul 21, 2023
1 parent b378823 commit b60296a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ build:usan --linkopt="-fsanitize=undefined"

# usan clang
build:clang_usan --config=clang --config=usan

# tsan gcc
build:tsan --cxxopt="-fsanitize=thread"
build:tsan --cxxopt="-fno-omit-frame-pointer"
build:tsan --cxxopt="-g" --cxxopt="-O2" --strip=never
build:tsan --linkopt="-fsanitize=thread"

# tsan clang
build:clang_tsan --config=clang --config=tsan

0 comments on commit b60296a

Please sign in to comment.