-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverting back linux ARM64 from main.
- Loading branch information
Showing
1 changed file
with
15 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,50 +104,27 @@ jobs: | |
path: wheelhouse/*.whl | ||
|
||
build_wheels_manylinux_arm64: | ||
name: Build manylinux wheels (ARM64) | ||
name: Build manylinux wheels (arm64) | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
python-version: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# Register QEMU for cross-architecture emulation | ||
- name: Set up QEMU for cross-compilation | ||
uses: docker/setup-qemu-action@v2 | ||
with: | ||
platforms: all # Ensures ARM64 is fully supported | ||
|
||
- name: Debug - Test ManyLinux Container | ||
run: | | ||
echo "Testing uname -a inside the container..." | ||
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 uname -a | ||
echo "Testing Python inside the container..." | ||
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 python3 --version | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install cibuildwheel | ||
- name: Build wheels with cibuildwheel | ||
env: | ||
CIBW_PLATFORM: "linux" | ||
CIBW_BUILD: ${{ matrix.python-version }} | ||
CIBW_ARCHS_LINUX: "aarch64" | ||
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64" | ||
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'" | ||
CIBW_BUILD_VERBOSITY: 3 | ||
run: | | ||
cibuildwheel --output-dir wheelhouse | ||
- name: upload wheels | ||
uses: actions/upload-artifact@v4 | ||
platforms: arm64 | ||
|
||
# Build manylinux Python wheels for arm64 architecture | ||
- name: Build manylinux Python wheels (arm64) | ||
uses: RalfG/[email protected]_aarch64 | ||
with: | ||
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }} | ||
path: wheelhouse/*.whl | ||
|
||
|
||
|
||
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' | ||
build-requirements: 'setuptools' | ||
|
||
- name: Upload arm64 wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./dist/*-manylinux*.whl | ||
name: wheels-arm64 |