Skip to content

Commit 63753da

Browse files
authored
feat: gcc is too slow on manylinux_s390x, use clang (#1885)
manylinux_s390x uses native gcc (Tier-3) but it's too slow on GHA and we will be reaching job time limit with CPython 3.15. Move to clang on s390x in order to reduce build time even though it's not supported by CPython.
1 parent 2bb5e7e commit 63753da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ "${MANYLINUX_DISABLE_CLANG_FOR_CPYTHON:-}" == "" ]; then
113113
case "${PLATFORM}" in
114114
aarch64|x86_64) MANYLINUX_DISABLE_CLANG_FOR_CPYTHON=1;; # gcc is Tier-1, clang is Tier-2
115115
armv7l) MANYLINUX_DISABLE_CLANG_FOR_CPYTHON=1;; # gcc is Tier-3, clang not supported at all
116-
s390x) MANYLINUX_DISABLE_CLANG_FOR_CPYTHON=1;; # gcc is Tier-3, clang not supported at all
116+
# s390x) MANYLINUX_DISABLE_CLANG_FOR_CPYTHON=1;; # gcc is Tier-3, clang not supported at all, gcc is too slow, use clang anyway
117117
*) ;;
118118
esac
119119
fi

0 commit comments

Comments
 (0)