Skip to content

Commit 5020456

Browse files
committed
Enable mimalloc on musl builds
1 parent 6e107a1 commit 5020456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-cpython.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ if [ -n "${CPYTHON_DEBUG}" ]; then
422422
fi
423423

424424
# Explicitly enable mimalloc on 3.13+, it's already included by default but with this it'll fail
425-
# if it's missing from the system. The MUSL builds do not supprt mimalloc yet.
426-
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && "${CC}" != "musl-clang" ]]; then
425+
# if it's missing from the system.
426+
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
427427
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-mimalloc"
428428
fi
429429

0 commit comments

Comments
 (0)