Skip to content

Commit

Permalink
Merge pull request #122 from regcs/fix-macos-arm64-build
Browse files Browse the repository at this point in the history
Fix: Compilation for both macOS architectures.
  • Loading branch information
codypiersall authored Jan 14, 2024
2 parents 45cea80 + 16430a0 commit 75bc440
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ test-skip = "cp312*"
# architectures, and that's no good.
before-build = "bash .github/rmstuff.sh"

[tool.cibuildwheel.macos]
# Specify universal2 building for macOS
archs = ["universal2"]
environment = { CMAKE_OSX_ARCHITECTURES="x86_64;arm64" }

[tool.black]
# Just a placeholder because I have a plugin that won't run without a section in
# pyproject.toml
Expand Down

0 comments on commit 75bc440

Please sign in to comment.