Skip to content

Commit 374f6d2

Browse files
committed
Update to manylinux ARM64
1 parent 1c2284b commit 374f6d2

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

.github/workflows/build_wheels.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -117,43 +117,32 @@ jobs:
117117
- name: Set up QEMU for cross-compilation
118118
uses: docker/setup-qemu-action@v2
119119
with:
120-
platforms: arm64
120+
platforms: all # Ensures ARM64 is properly supported
121+
122+
- name: Test ManyLinux Container
123+
run: |
124+
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 un-a
121125
122126
- name: Install cibuildwheel
123127
run: |
124128
python -m pip install --upgrade pip
125129
pip install cibuildwheel
126130
127-
- name: Debug - Show system info
128-
run: |
129-
uname -a
130-
lscpu
131-
df -h
132-
free -m
133-
134-
- name: Debug - Show installed packages
135-
run: |
136-
python -m pip list
137-
138-
- name: Debug - Check Docker
139-
run: |
140-
docker images
141-
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 una-a
142-
143131
- name: Build wheels with cibuildwheel
144132
env:
145133
CIBW_PLATFORM: "linux"
146134
CIBW_BUILD: ${{ matrix.python-version }}
147135
CIBW_ARCHS_LINUX: "aarch64"
148136
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
149137
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
150-
CIBW_BEFORE_BUILD: "yum install -y gcc gcc-c++ make"
151138
CIBW_BUILD_VERBOSITY: 3
152139
run: |
140+
docker run --rm --platform linux/aarch64 -it quay.io/pypa/manylinux_2_28_aarchbin/bash -c "echo Container Started OK"
153141
cibuildwheel --output-dir wheelhouse
154142
155143
- name: upload wheels
156144
uses: actions/upload-artifact@v4
157145
with:
158146
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
159-
path: wheelhouse/*.whl
147+
path: wheelhouse/*.whl
148+

0 commit comments

Comments
 (0)