We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c9068 commit 030c054Copy full SHA for 030c054
cpython-unix/build-cpython.sh
@@ -353,6 +353,12 @@ if [ "${PYBUILD_PLATFORM}" != "macos" ]; then
353
fi
354
355
356
+# On Python 3.14+, enable the tail calling interpreter which is more performant.
357
+# https://docs.python.org/3.14/using/configure.html#cmdoption-with-tail-call-interp
358
+if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_14}" ]; then
359
+ EXTRA_CONFIGURE_FLAGS="${EXTRA_CONFIGURE_FLAGS} --with-tail-call-interp"
360
+fi
361
+
362
# On Python 3.12+ we need to link the special hacl library provided some SHA-256
363
# implementations. Since we hack up the regular extension building mechanism, we
364
# need to reinvent this wheel.
0 commit comments