<div dir="ltr">Hi all,<div><br></div><div>I’ve been working on developing Python builds for mobile platforms, and I’m looking for some help resolving a bug in Python’s build system.</div><div><br></div><div>The problem affects cross-platform builds - builds where you are compiling python for a CPU architecture other than the one on the machine that is doing the compilation. This requirement stems from supporting mobile platforms (iOS, Android etc) where you compile on your laptop, then ship the compiled binary to the device.</div><div><br></div><div>In the Python 3.5 dev cycle, Issue 22359 [1] was addressed, fixing parallel builds. However, as a side effect, this patch broke (as far as I can tell) *all* cross platform builds. This was reported in issue 22625 [2]. </div><div><br></div><div>Since that time, the problem has gotten slightly worse; the addition of changeset 95566 [3] and 95854 [4] has cemented the problem. I’ve been able to hack together a fix that enables me to get a set of binaries, but the patch is essentially reverting 22359, and making some (very dubious) assumptions about the order in which things are built.</div><div><br></div><div>Autoconf et al aren’t my strong suit; I was hoping someone might be able to help me resolve this issue.</div><div><br></div><div>Yours,</div><div>Russ Magee %-)</div><div><br></div><div>[1] <a href="http://bugs.python.org/issue22359">http://bugs.python.org/issue22359</a><br></div><div>[2] <a href="http://bugs.python.org/issue22625">http://bugs.python.org/issue22625</a><br></div><div><div>[3] <a href="https://hg.python.org/cpython/rev/565b96093ec8">https://hg.python.org/cpython/rev/565b96093ec8</a><br></div></div><div>[4] <a href="https://hg.python.org/cpython/rev/02e3bf65b2f8">https://hg.python.org/cpython/rev/02e3bf65b2f8</a><br></div><div><br></div><div><br></div></div>