aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-01-02 13:37:07 -0800
committerJunio C Hamano <gitster@pobox.com>2025-01-02 13:37:08 -0800
commiteffbef2bebed87b1ce46d449862fb5121dba9d34 (patch)
treed2fce862eff41924570281641c2585cdcb238267 /Makefile
parentd062ccf4c3af1e5153ed5064d4d05b05e0fdd4d5 (diff)
parentb119a687d411864433aed92017c144d311b53a4c (diff)
downloadgit-effbef2bebed87b1ce46d449862fb5121dba9d34.tar.xz
Merge branch 'jk/lsan-race-ignore-false-positive'
CI jobs that run threaded programs under LSan has been giving false positives from time to time, which has been worked around. This is an alternative to the jk/lsan-race-with-barrier topic with much smaller change to the production code. * jk/lsan-race-ignore-false-positive: test-lib: ignore leaks in the sanitizer's thread code test-lib: check leak logs for presence of DEDUP_TOKEN test-lib: simplify leak-log checking test-lib: rely on logs to detect leaks Revert barrier-based LSan threading race workaround
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 2c6dad8a75..97e8385b66 100644
--- a/Makefile
+++ b/Makefile
@@ -141,10 +141,6 @@ include shared.mak
#
# Define NO_PTHREADS if you do not have or do not want to use Pthreads.
#
-# Define THREAD_BARRIER_PTHREAD if your system has pthread_barrier_t. Barrier
-# support is optional and is only helpful when building with SANITIZE=leak, as
-# it is used to eliminate some races in the leak-checker.
-#
# Define NO_PREAD if you have a problem with pread() system call (e.g.
# cygwin1.dll before v1.5.22).
#
@@ -2083,9 +2079,6 @@ ifdef NO_PTHREADS
else
BASIC_CFLAGS += $(PTHREAD_CFLAGS)
EXTLIBS += $(PTHREAD_LIBS)
- ifdef THREAD_BARRIER_PTHREAD
- BASIC_CFLAGS += -DTHREAD_BARRIER_PTHREAD
- endif
endif
ifdef HAVE_PATHS_H