Skip to content

Commit 17d66e1

Browse files
committed
Enable mimalloc on musl builds
1 parent 145de2e commit 17d66e1

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
@@ -416,8 +416,8 @@ if [ -n "${CPYTHON_DEBUG}" ]; then
416416
fi
417417

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

0 commit comments

Comments
 (0)