Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: adds aarch64 wheels #121

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ jobs:
run: conda install -y openblas pkgconfig

- name: Build wheels
if: ${{github.event_name == 'push'}}
env:
CIBW_BUILD: "cp3${{env.PYTHON_SUBVERSION}}-*"
CIBW_SKIP: "*-win32 *-manylinux_i686 *-musllinux*"
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_ARCHS_LINUX: auto aarch64
Comment on lines +146 to +147
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no expert on this stuff, but it seems to be failing due to only wanting one of these to be set at a time. I think you will need to put the two architectures inside the matrix, so you can use something like {{ matrix.arch }} here, and then it will kick off 2x the jobs, one for each arch choice.

uses: pypa/[email protected]

- uses: actions/upload-artifact@v4
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[build-system]
build-backend = 'mesonpy'
requires = [
"numpy >= 2.0.0; python_version > '3.8'",
"oldest-supported-numpy; python_version <= '3.8'",
"numpy >= 2.0.0",
"meson-python"
]

Expand All @@ -11,7 +10,7 @@ name = 'scs'
version = "3.2.7"
description = 'Splitting conic solver'
readme = 'README.md'
requires-python = '>=3.7'
requires-python = '>=3.9'
license = {file = 'LICENSE'}
authors = [
{name = "Brendan O'Donoghue", email = "[email protected]"}]
Expand Down
Loading