Skip to content

Commit 28c8fd9

Browse files
committed
Limit to 3.13 / Linux
1 parent 5664603 commit 28c8fd9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cpython-unix/build-cpython.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,12 @@ if [ -n "${CPYTHON_OPTIMIZED}" ]; then
427427

428428
# Allow users to enable the experimental JIT on 3.13+
429429
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
430-
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-experimental-jit=yes-off"
430+
431+
# The JIT build is failing on macOS and 3.14+ due to compiler errors
432+
# Only enable on Linux / 3.13 until that's fixed upstream
433+
if [[ -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_13}" && "${PYBUILD_PLATFORM}" != "macos" ]]; then
434+
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-experimental-jit=yes-off"
435+
fi
431436

432437
if [[ -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_13}" ]]; then
433438
# On 3.13, LLVM 18 is hard-coded into the configure script. Override it to our toolchain

0 commit comments

Comments
 (0)