We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec1e3c commit 1f3cccdCopy full SHA for 1f3cccd
cpython-unix/build-cpython.sh
@@ -349,8 +349,9 @@ if [ "${PYBUILD_PLATFORM}" != "macos" ]; then
349
fi
350
351
# On Python 3.14+, enable the tail calling interpreter which is more performant.
352
+# This is only available on Clang 19+
353
# https://docs.python.org/3.14/using/configure.html#cmdoption-with-tail-call-interp
-if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_14}" ]; then
354
+if [[ "${CC}" = "clang" && -n "${PYTHON_MEETS_MINIMUM_VERSION_3_14}" ]]; then
355
EXTRA_CONFIGURE_FLAGS="${EXTRA_CONFIGURE_FLAGS} --with-tail-call-interp"
356
357
0 commit comments