Skip to content

Commit

Permalink
use built-in meson option to build with tsan
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Jan 2, 2025
1 parent 5be16ee commit 24e4e25
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,7 @@ python -m pip install -U git+https://github.com/cython/cython
- Build the package

```bash
export CC=clang-18
export CXX=clang++-18
export CFLAGS=-fsanitize=thread
export CXXFLAGS=-fsanitize=thread
export LDFLAGS=-fsanitize=thread

python -m pip install -v . --no-build-isolation
CC=clang-18 CXX=clang++-18 python -m pip install -v . --no-build-isolation -C'setup-args=-Db_sanitize=thread
```
### Useful TSAN options
Expand Down

0 comments on commit 24e4e25

Please sign in to comment.