Skip to content

Commit 68b3b27

Browse files
Support universal2 (#10651)
1 parent 7b4d725 commit 68b3b27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/build_wheel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def create_environ(python_version: str) -> Dict[str, str]:
4444
# When cross-compiling on Intel, it is not possible to test arm64 and
4545
# the arm64 part of a universal2 wheel. Warnings will be silenced with
4646
# following CIBW_TEST_SKIP
47-
env['CIBW_ARCHS_MACOS'] = "x86_64 arm64"
48-
env['CIBW_TEST_SKIP'] = "*-macosx_arm64"
47+
env['CIBW_ARCHS_MACOS'] = "x86_64 arm64 universal2"
48+
env['CIBW_TEST_SKIP'] = "*-macosx_arm64 *_universal2:arm64"
4949

5050
env['CIBW_BUILD_VERBOSITY'] = '1'
5151

0 commit comments

Comments
 (0)