Skip to content

Commit db52d2b

Browse files
committed
Disable the experimental JIT on musl
1 parent 1cce7f1 commit db52d2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-cpython.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ if [ -n "${CPYTHON_OPTIMIZED}" ]; then
431431
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-bolt"
432432
fi
433433

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

437437
# The JIT build is failing on macOS due to compiler errors
438438
# Only enable on Linux / 3.13 until that's fixed upstream

0 commit comments

Comments
 (0)