Skip to content

Commit

Permalink
chore(actions): do NOT build arm64 on python3.8 and earlier
Browse files Browse the repository at this point in the history
It seems that arm64 builds are not well-supported on these platforms so
we will skip building the arm64 version on these, for now.

Note that he glob pattern for 3.8 has to be a bit more permissive as
`cp3{6,7,8}-*-*arm64` does not match `cp38-macosx_arm64` (note the
underscore, although the glob does work for cp36 adn cp37 for some
reason that is not obvious right now.
  • Loading branch information
doublethefish committed Nov 29, 2024
1 parent 8d8b21f commit 7df8d2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ maintainers = [
# tmap's developement in the future.
# This may change, and probably should.
build = "cp3*"
# Skip 32-bit builds, musl build, and pypy builds
skip = ["*-manylinux_i686", "*-musllinux_*", "pp*"]
# Skip
# - 32-bit builds
# - musl build
# - pypy builds
# - arm64 for build for python 3.8 and earlier
skip = ["*-manylinux_i686", "*-musllinux_*", "pp*", "cp3{6,7,8}-*-*arm64" ]

[tool.cibuildwheel.linux]
before-build = """\
Expand Down

0 comments on commit 7df8d2f

Please sign in to comment.