Skip to content

Commit

Permalink
Revert "pythongh-112536: Define MI_TSAN to 1 for --with-mimalloc and …
Browse files Browse the repository at this point in the history
…--with-thread-sanitizer"

This reverts commit a97883f.
  • Loading branch information
corona10 committed Mar 11, 2024
1 parent c97684a commit 058edaf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4750,12 +4750,6 @@ elif test "$disable_gil" = "yes"; then
AC_MSG_ERROR([--disable-gil requires mimalloc memory allocator (--with-mimalloc).])
fi

if test "$with_mimalloc" = yes; then
if test "$with_tsan" = yes; then
AC_DEFINE([MI_TSAN], [1], [Define MI_TSAN for thread sanitizer])
fi
fi

AC_MSG_RESULT([$with_mimalloc])
AC_SUBST([WITH_MIMALLOC])
AC_SUBST([MIMALLOC_HEADERS])
Expand Down
3 changes: 0 additions & 3 deletions pyconfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -1588,9 +1588,6 @@
<sysmacros.h>. */
#undef MAJOR_IN_SYSMACROS

/* Define MI_TSAN for thread sanitizer */
#undef MI_TSAN

/* Define if mvwdelch in curses.h is an expression. */
#undef MVWDELCH_IS_EXPRESSION

Expand Down

0 comments on commit 058edaf

Please sign in to comment.