Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Added universal2 wheels #365

Closed
wants to merge 4 commits into from
Closed

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 27, 2023

Resolves #359 by adding universal2 wheels, apart from PyPy.

We don't build PyPy versions for arm64, so they're not going to work for universal2.

config.sh Outdated Show resolved Hide resolved
config.sh Outdated
elif [[ "${PLAT:-}" == "x86_64" ]]; then
(macos_intel_native_build_setup && $@)
fi
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is debate about this in multi-build/multibuild#495

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed a commit as an alternative to this, making use of multi-build/multibuild#502

if [ ! -d pillow-depends-main ]; then
curl -fsSL -o pillow-depends-main.zip https://github.com/python-pillow/pillow-depends/archive/main.zip
untar pillow-depends-main.zip
fi
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build is run twice for universal2, once for x86_64 and once for arm64, and pillow-depends only needs to be downloaded once.

.github/workflows/build.sh Outdated Show resolved Hide resolved
@radarhere radarhere force-pushed the universal2 branch 2 times, most recently from a27af1b to 8b87d6e Compare February 2, 2023 08:45
@radarhere
Copy link
Member Author

Closing in light of #359 (comment)

@radarhere radarhere closed this Jun 22, 2023
@radarhere radarhere deleted the universal2 branch September 2, 2023 01:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

universal2 wheels for macOS
2 participants