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

[python3] Enable cross builds, fix native builds #31621

Draft
wants to merge 60 commits into
base: master
Choose a base branch
from

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented May 25, 2023

Fixes #30501, building python3 for python
Fixes #29447 (to be tested).
Adjusts library and include search path setup for dependencies. Fixes #31668, unknown error in native x64-osx builds.
Eliminates release lib paths from debug builds.
Fixes osx cross builds. (Upstream supports universal builds only, but the required patching is a minimal delta over the search path patch.)

Alternative to #31497.
Includes/depends on #31228.
Cross build tested with arm64-linux and android (NDK 25c) on x64-linux, and with arm64-osx on x64-osx.

  • Changes comply with the maintainer guide
  • SHA512s are updated for each updated download
  • The "supports" clause reflects platforms that may be fixed by this new version
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@dg0yt
Copy link
Contributor Author

dg0yt commented Aug 8, 2023

#31727 was merged. Waiting for #33026 now.

@dg0yt
Copy link
Contributor Author

dg0yt commented Aug 10, 2023

The python3 part is now updated for 3.11.

The android build needs the fixes from #31228 (in particular passing compiler and linker flags).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
4 participants