Closed madig closed 3 years ago
why don't we also build arm64 and universal2 wheels for the latest Mac chips? See how uharfbuzz did that
oooh! is this something we could use for ft, ttfa etc as well? (apologies for the hijack)
@m4rc1e the trick to build arm64 wheels is to use cibuildwheel and macOS 11. Simon already did it for ttfautohint-py https://github.com/fonttools/ttfautohint-py/pull/8
Sweet thank you Cosimo!
I think the auto64
marker builds all 64 bit things for ARM: https://cibuildwheel.readthedocs.io/en/stable/options/#archs.
I only see the x86_64 wheels been built at https://github.com/googlefonts/cu2qu/pull/194/checks?check_run_id=3281444036#step:5:1748
Khaled explicitly listed all three of them in https://github.com/harfbuzz/uharfbuzz/blob/732390ac8ba59d6e2e2e9dc7521f865e6c3a72b5/pyproject.toml#L20-L21 and his setup worked. Maybe GH runners do not actually run on the M1 chip and they only cross-compile
Ah, because we run on macOS x64_64 🤔
@madig since you're touching the CI setup, why don't we also build arm64 and universal2 wheels for the latest Mac chips? See how uharfbuzz did that