Skip to content

Commit

Permalink
Disable BOLT on 3.13+
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 5, 2024
1 parent 4c7b4a5 commit 520e9d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpython-unix/build-cpython.sh
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ fi

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

0 comments on commit 520e9d3

Please sign in to comment.