Skip to content

Commit 438830e

Browse files
committed
Disable the experimental JIT on musl
1 parent 20222f6 commit 438830e

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
@@ -466,8 +466,8 @@ if [ -n "${CPYTHON_OPTIMIZED}" ]; then
466466
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-bolt"
467467
fi
468468

469-
# Allow users to enable the experimental JIT on 3.13+
470-
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
469+
# Allow users to enable the experimental JIT on 3.13+ (but not on musl)
470+
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && ! "${CC}" = "musl-clang" ]]; then
471471

472472
# Do not enable on x86-64 macOS because the JIT requires macOS 11+ and we are currently
473473
# using 10.15 as a minimum version.

0 commit comments

Comments
 (0)