Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Pillow builds on x86 #65

Merged
merged 8 commits into from
Sep 25, 2024
Merged

Correct Pillow builds on x86 #65

merged 8 commits into from
Sep 25, 2024

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Sep 25, 2024

Add a CI configuration to verify x86 builds for Pillow, and corrects the recipe for Pillow to disable the "standard locations" (/usr, /usr/local etc). This was being done in mobile-forge, but Pillow was Helping and adding them back in.

Also adds numpy builds to verify behaviour reported by #60. The path to the stub binary in CI is /Users/runner/work/mobile-forge/mobile-forgebuild/cp312/numpy/1.26.2/venv3.12-ios_13_0_arm64_iphoneos/cross/lib/python3.12, which is 123 characters, just under the 127 character limit that would have triggered the bug.

Lastly, corrects some issues with the numpy recipe that were revealed when trying to build numpy on x86_64. These mostly stemmed from incorrectly configuring the C++ compiler, and not updating the patch to reflect the change in ordering of the MULTIARCH tag.

Fixes #60.
Fixes #62.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 marked this pull request as draft September 25, 2024 16:54
@freakboy3742 freakboy3742 changed the title Verify Pillow builds on x86 Correct Pillow builds on x86 Sep 25, 2024
@freakboy3742 freakboy3742 marked this pull request as ready for review September 25, 2024 18:30
@freakboy3742 freakboy3742 merged commit 6ab1bb5 into main Sep 25, 2024
7 checks passed
@freakboy3742 freakboy3742 deleted the x86-pip branch September 25, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pillow 10.4.0 build fails on x86 Cannot build numpy in specific situation
1 participant