Add Support for visionOS (Draft)#269
Conversation
|
Given the... enjoyment... that autoconf and friends has given you, I feel awful saying this - but the Python.patch changes need to be submitted as a PR against this branch of my fork of the cpython repo. I need to be able to reproduce this patch when any later changes are made, and without the upstream PR, I can't easily do that. As for autoconf et al - Python has very specific autoconf requirements, documented at the top of |
|
@freakboy3742 Will do! Oopsies, forgot to squash my commits... |
|
@freakboy3742 Actually, would've been better if you told me. I feel awful for the amount of hours changing the "only in " whatever stuff by diff -ur without using git diff, on a source tree I downloaded myself... Yikes! |
|
Done. freakboy3742/cpython#6 |
|
Sorry if my last comment sounds weird -- not blaming it on you -- just saying like it's my fault for not asking. Also there's a repo on github for the old version so this is what I did (don't quote me on this though, I had lots of failed commands I removed in the middle): |
No worries - but regardless, I could have given you the heads up. This issue is mentioned in passing on the macCatalyst PR, but it would be easy to miss that comment.
Sorry - I'm getting myself confused here. The current autoconf is 2.72; but older versions of CPython need 2.71 which is the version homebrew doesn't provide. |
|
Closed this because I am starting on a new branch. |
Fix #207.
For some reason, when I try to test it using a modified version of the iOS testbed in the upstream cpython repo, it can't initialize the Python interpreter. I must have forgotten to do something. The traceback is from PyErr_Print. This is why it's draft.
The modified testbed project, which includes my built XCFramework, is found at
https://drive.google.com/file/d/1OO7LBHUVQFsdaMZkvXi5WozE3WRf-Mp-/view?usp=sharing
CAVEAT: My autoconf (and friends) version seems to be wrong, and it generates code in aclocal.m4 to check for pkg-config, which fails. I therefore took out that block in the latest commit in this PR; if someone have the correct version of things, please run autoreconf -ivf on a patched Python source tree, and send me a diff.
PR Checklist: