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 e8b031b commit f356d4fCopy full SHA for f356d4f
cpython-unix/build-cpython.sh
@@ -355,8 +355,14 @@ if [ -n "${CPYTHON_DEBUG}" ]; then
355
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-pydebug"
356
fi
357
358
+# Explicitly enable mimalloc on 3.13+, it's already included by default but with this it'll fail
359
+# if it's missing from the system. The MUSL builds do not supprt mimalloc yet.
360
+if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && "${CC}" != "musl-clang" ]]; then
361
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --with-mimalloc"
362
+fi
363
+
364
if [ -n "${CPYTHON_FREETHREADED}" ]; then
- CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-gil --with-mimalloc"
365
+ CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --disable-gil"
366
367
368
if [ -n "${CPYTHON_OPTIMIZED}" ]; then
0 commit comments