Skip to content

Commit

Permalink
Skip Mac OS X / arm64 builds for now
Browse files Browse the repository at this point in the history
These have been failing for a while, with no obvious fix. See #1303 for details.
  • Loading branch information
jelmer committed Jun 10, 2024
1 parent d545f2b commit 536008d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf
skip = "*-musllinux_*"
archs = ["auto", "aarch64"]

[tool.cibuildwheel.macos]
archs = ["auto", "universal2", "x86_64", "arm64"]
#skip = "*-macosx_arm64 *-macosx_universal2 *-macosx_x86_64"

[[tool.cibuildwheel.overrides]]
select = "*-macosx_x86_64"
before-build = "rustup target add x86_64-apple-darwin"

[[tool.cibuildwheel.overrides]]
select = "*-macosx_arm64"
before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup target add x86_64-apple-darwin"
before-build = "rustup target add aarch64-apple-darwin"

[[tool.cibuildwheel.overrides]]
select = "*-macosx_universal2"
before-build = "rustup target add x86_64-apple-darwin aarch64-apple-darwin"

0 comments on commit 536008d

Please sign in to comment.