From 8d2dc2240a6c972fa918fb43e85d0fca9185025e Mon Sep 17 00:00:00 2001 From: 97littleleaf11 <97littleleaf11@gmail.com> Date: Wed, 16 Jun 2021 10:50:57 +0800 Subject: [PATCH] Support universal2 --- misc/build_wheel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/build_wheel.py b/misc/build_wheel.py index bf27f11d2c25..b5f964c0f8f2 100644 --- a/misc/build_wheel.py +++ b/misc/build_wheel.py @@ -49,8 +49,8 @@ def create_environ(python_version: str) -> Dict[str, str]: # 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_ARCHS_MACOS'] = "x86_64 arm64 universal2" + env['CIBW_TEST_SKIP'] = "*-macosx_arm64 *_universal2:arm64" env['CIBW_BUILD_VERBOSITY'] = '1'