Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

build universal2 wheels for py3.8 #115

Merged
merged 3 commits into from
May 29, 2021
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
MB_PYTHON_VERSION: "3.7"
py_3.8_64:
MB_PYTHON_VERSION: "3.8"
py_3.8_universal2:
MB_PYTHON_VERSION: "3.8"
PLAT: universal2
py_3.9_universal2:
MB_PYTHON_VERSION: "3.9"
PLAT: universal2
Expand Down
16 changes: 16 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ function build_wheel {
wrap_wheel_builder _build_wheel $@
}

# TODO: Remove once https://github.com/matthew-brett/multibuild/pull/409 lands
function pyinst_fname_for_version {
# echo filename for OSX installer file given Python and minimum
# macOS versions
# Parameters
# $py_version (Python version in major.minor.extra format)
# $py_osx_ver: {major.minor | not defined}
# if defined, the minimum macOS SDK version that Python is
# built for, eg: "10.6" or "10.9", if not defined, infers
# this from $py_version using macpython_sdk_for_version
local py_version=$1
local py_osx_ver=${2:-$(macpython_sdk_for_version $py_version)}
local inst_ext=$(pyinst_ext_for_version $py_version)
echo "python-${py_version}-macosx${py_osx_ver}.${inst_ext}"
}

function install_delocate {
check_pip
$PIP_CMD install git+https://github.com/isuruf/delocate.git@arm64
Expand Down