Skip to content

Commit 8c9352c

Browse files
committed
ok manually alias system compiler with updated alternative
1 parent 91f4f71 commit 8c9352c

1 file changed

Lines changed: 10 additions & 18 deletions

File tree

.github/workflows/python-packaging.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,16 @@ jobs:
103103
${{ matrix.platform.target != 'ppc64le' && '--zig' || ''}}
104104
# avoid cache-poisoning potential for actually distributed builds
105105
# sccache: ${{ startsWith(github.ref, 'refs/tags') && 'false' || 'true' }}
106-
manylinux: ${{ (matrix.platform.target == 'ppc64le' || matrix.platform.target == 's390x') && '2_28' || 'auto'}}
107-
# here we either install the ppc64le compiler/toolchain or install zig on all others
108-
# before-script-linux: |
109-
# case "${{ matrix.platform.target }}" in
110-
# s390x|ppc64le)
111-
# apt-get update
112-
# apt-get upgrade -y
113-
# apt-get install -y \
114-
# pkg-config \
115-
# gcc \
116-
# g++ \
117-
# binutils
118-
# ;;
119-
# *)
120-
# # spell-checker: disable-next-line
121-
# pip install ziglang
122-
# ;;
123-
# esac
106+
manylinux: 'auto'
107+
before-script-linux: |
108+
case "${{ matrix.platform.target }}" in
109+
s390x|ppc64le)
110+
apt-get update
111+
apt-get upgrade -y
112+
apt-get install -y gcc-10
113+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60
114+
;;
115+
esac
124116
- name: Upload wheels
125117
uses: actions/upload-artifact@v7
126118
with:

0 commit comments

Comments
 (0)