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.
PYTHON_ARCH
x86_64-unknown-linux
1 parent f126b0a commit 4a78a31Copy full SHA for 4a78a31
cpython-unix/build-cpython.sh
@@ -757,12 +757,12 @@ ppc64le-unknown-linux-gnu)
757
s390x-unknown-linux-gnu)
758
PYTHON_ARCH="s390x-linux-gnu"
759
;;
760
-x86_64-unknown-linux-musl)
761
- PYTHON_ARCH="x86_64-linux-musl"
762
- ;;
763
x86_64-unknown-linux-*)
764
- echo "TARGET_TRIPLE=${TARGET_TRIPLE}"
765
- PYTHON_ARCH="x86_64-linux-gnu"
+ if [ "${CC}" = "musl-clang" ]; then
+ PYTHON_ARCH="x86_64-linux-musl"
+ else
+ PYTHON_ARCH="x86_64-linux-gnu"
+ fi
766
767
*)
768
echo "unhandled target triple: ${TARGET_TRIPLE}"
0 commit comments