summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-16 16:50:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-16 16:50:06 -0400
commitd7e62391f934c65f3e2d8e5d6bff744747d077b0 (patch)
treed770a7eba5dee01ce60e60562856162bb1916d8f /Makefile
parent5e8a7a882eb056f7fc02736f2e92547f269ee553 (diff)
downloadbfs-d7e62391f934c65f3e2d8e5d6bff744747d077b0.tar.xz
distcheck: Disable tsan on FreeBSD
ThreadSanitizer has some FreeBSD-specific bugs that are too difficult to work around. In particular, deadlock is possible if any signal with a user-defined handler interrupts an atomic operation. Link: https://github.com/llvm/llvm-project/issues/92313 Link: https://github.com/llvm/llvm-project/issues/92437
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69048cf..b31d6c5 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ DISTCHECKS := \
distcheck:
@+${MAKE} distcheck-asan
@+test "$$(uname)" = Darwin || ${MAKE} distcheck-msan
- @+${MAKE} distcheck-tsan
+ @+test "$$(uname)" = FreeBSD || ${MAKE} distcheck-tsan
@+test "$$(uname)-$$(uname -m)" != Linux-x86_64 || ${MAKE} distcheck-m32
@+${MAKE} distcheck-release
.PHONY: distcheck