[CI] Build Python wheels for MacOS (x86_64 and arm64) (#7621)

* Build Python wheels for OSX (x86_64 and arm64)

* Use Conda's libomp when running Python tests

* fix

* Add comment to explain CIBW_TARGET_OSX_ARM64

* Update release script

* Add comments in build_python_wheels.sh

* Document wheel pipeline
This commit is contained in:
Philip Hyunsu Cho
2022-02-02 17:35:48 -08:00
committed by GitHub
parent 271a7c5d43
commit f6e6d0b2c0
8 changed files with 123 additions and 32 deletions

View File

@@ -80,7 +80,8 @@ def download_py_packages(major: int, minor: int, commit_hash: str):
"win_amd64",
"manylinux2014_x86_64",
"manylinux2014_aarch64",
"macosx_10_14_x86_64.macosx_10_15_x86_64.macosx_11_0_x86_64",
"macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64",
"macosx_12_0_arm64"
]
dir_URL = PREFIX + str(major) + "." + str(minor) + ".0" + "/"