We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a58ae1 commit ed051a7Copy full SHA for ed051a7
cpython-unix/build-cpython.sh
@@ -364,8 +364,14 @@ if [ -n "${CPYTHON_DEBUG}" ]; then
364
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-pydebug"
365
fi
366
367
+# Explicitly enable mimalloc on 3.13+, it's already included by default but with this it'll fail
368
+# if it's missing from the system. The MUSL builds do not supprt mimalloc yet.
369
+if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && "${CC}" != "musl-clang" ]]; then
370
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-mimalloc"
371
+fi
372
+
373
if [ -n "${CPYTHON_FREETHREADED}" ]; then
- CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-gil --with-mimalloc"
374
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-gil"
375
376
377
if [ -n "${CPYTHON_OPTIMIZED}" ]; then
0 commit comments