mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-112532: Require mimalloc in --disable-gil
builds (gh-112883)
This commit is contained in:
parent
fed294c645
commit
fdee7b7b3e
10 changed files with 76 additions and 12 deletions
|
@ -4558,6 +4558,8 @@ if test "$with_mimalloc" != no; then
|
|||
with_mimalloc=yes
|
||||
AC_DEFINE([WITH_MIMALLOC], [1], [Define if you want to compile in mimalloc memory allocator.])
|
||||
AC_SUBST([MIMALLOC_HEADERS], ['$(MIMALLOC_HEADERS)'])
|
||||
elif test "$disable_gil" = "yes"; then
|
||||
AC_MSG_ERROR([--disable-gil requires mimalloc memory allocator (--with-mimalloc).])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([$with_mimalloc])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue