Skip to content
Merged
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
7 changes: 7 additions & 0 deletions misc/build_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ def create_environ(python_version: str) -> Dict[str, str]:
# Don't build 32-bit wheels
env['CIBW_SKIP'] = "*-manylinux_i686 *-win32"

# Apple Silicon support
# When cross-compiling on Intel, it is not possible to test arm64 and
# the arm64 part of a universal2 wheel. Warnings will be silenced with
# following CIBW_TEST_SKIP
env['CIBW_ARCHS_MACOS'] = "x86_64 arm64"
env['CIBW_TEST_SKIP'] = "*-macosx_arm64"

env['CIBW_BUILD_VERBOSITY'] = '1'

# mypy's isolated builds don't specify the requirements mypyc needs, so install
Expand Down