Skip to content

Commit 7ef0b59

Browse files
committed
Reverting back linux ARM64 from main.
1 parent 7a91d4e commit 7ef0b59

File tree

1 file changed

+15
-38
lines changed

1 file changed

+15
-38
lines changed

.github/workflows/build_wheels.yml

Lines changed: 15 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -104,50 +104,27 @@ jobs:
104104
path: wheelhouse/*.whl
105105

106106
build_wheels_manylinux_arm64:
107-
name: Build manylinux wheels (ARM64)
107+
name: Build manylinux wheels (arm64)
108108
runs-on: ubuntu-24.04
109-
strategy:
110-
matrix:
111-
python-version: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
112109
steps:
113110
- name: Checkout repository
114111
uses: actions/checkout@v4
115-
112+
116113
# Register QEMU for cross-architecture emulation
117114
- name: Set up QEMU for cross-compilation
118115
uses: docker/setup-qemu-action@v2
119116
with:
120-
platforms: all # Ensures ARM64 is fully supported
121-
122-
- name: Debug - Test ManyLinux Container
123-
run: |
124-
echo "Testing uname -a inside the container..."
125-
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 uname -a
126-
127-
echo "Testing Python inside the container..."
128-
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 python3 --version
129-
130-
- name: Install cibuildwheel
131-
run: |
132-
python -m pip install --upgrade pip
133-
pip install cibuildwheel
134-
135-
- name: Build wheels with cibuildwheel
136-
env:
137-
CIBW_PLATFORM: "linux"
138-
CIBW_BUILD: ${{ matrix.python-version }}
139-
CIBW_ARCHS_LINUX: "aarch64"
140-
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
141-
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
142-
CIBW_BUILD_VERBOSITY: 3
143-
run: |
144-
cibuildwheel --output-dir wheelhouse
145-
146-
- name: upload wheels
147-
uses: actions/upload-artifact@v4
117+
platforms: arm64
118+
119+
# Build manylinux Python wheels for arm64 architecture
120+
- name: Build manylinux Python wheels (arm64)
121+
uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_aarch64
148122
with:
149-
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
150-
path: wheelhouse/*.whl
151-
152-
153-
123+
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
124+
build-requirements: 'setuptools'
125+
126+
- name: Upload arm64 wheels
127+
uses: actions/upload-artifact@v3
128+
with:
129+
path: ./dist/*-manylinux*.whl
130+
name: wheels-arm64

0 commit comments

Comments
 (0)