Skip to content

Commit 520e9d3

Browse files
committed
Disable BOLT on 3.13+
1 parent 4c7b4a5 commit 520e9d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpython-unix/build-cpython.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,9 @@ fi
352352

353353
if [ -n "${CPYTHON_OPTIMIZED}" ]; then
354354
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-optimizations"
355-
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_12}" && -n "${BOLT_CAPABLE}" ]]; then
355+
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && -n "${BOLT_CAPABLE}" ]]; then
356+
echo "BOLT is disabled on Python 3.13+ due to a SEGFAULT when running `test_embed`."
357+
elif [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_12}" && -n "${BOLT_CAPABLE}" ]]; then
356358
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --enable-bolt"
357359
fi
358360
fi

0 commit comments

Comments
 (0)