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 ac2ddaa commit d8111a0Copy full SHA for d8111a0
cpython-unix/build-cpython.sh
@@ -1077,8 +1077,14 @@ touch "${LIB_DYNLOAD}/.empty"
1077
1078
# Symlink libpython so we don't have 2 copies.
1079
case "${TARGET_TRIPLE}" in
1080
-aarch64-unknown-linux-gnu)
1081
- PYTHON_ARCH="aarch64-linux-gnu"
+aarch64-unknown-linux-*)
+ # In Python 3.13+, the musl target is identified in cross compiles and the output directory
1082
+ # is named accordingly.
1083
+ if [[ "${CC}" = "musl-clang" && -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]]; then
1084
+ PYTHON_ARCH="aarch64-linux-musl"
1085
+ else
1086
+ PYTHON_ARCH="aarch64-linux-gnu"
1087
+ fi
1088
;;
1089
# This is too aggressive. But we don't have patches in place for
1090
# setting the platform name properly on non-Darwin.
0 commit comments