GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — Add android cross compiling support by jcfr · Pull Request #321 · python-cmake-buildsystem/python-cmake-buildsystem Conversation
|
|
@iyadahmed When (and if) you have the bandwidth, let us know what you think 🙏 Alternatively if time is limited, there is no problem integrating the patch originally suggested in #320 (comment) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've just tried it, it works great, but it still does not execute the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Yep here are exit codes for each program, there's two extra programs that turned out to not return 0 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
here's the configure command I'm using btw |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
tests are failing on mac though :/ @jcfr |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
for some reason this patch produces different check binaries than master |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Here are results of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
ah for automatic running on virtual device my bad I should have used the instructions from unix docs, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The run_on_android.sh script works great! got Python on the virtual device! now we need to figure out why MacOSX CI fails 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
here's my final config command, now using the default Python version as Python 3.10 fails for some reason |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Things are becoming more clear now, imo,
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
bf53a65 to
7a07b4d
Compare
It was not effective, and it was visible using Android Studio.
Translated to CMake from a patch on the Yocto project: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/python/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch?h=zeus It avoids the execution of a program on the target device, and produces a clearer endianness result.
It avoids the need for checking it by running a program on the target platform.
…piling They are already present in source releases, so it is possible to ignore the regeneration step. We do that only when cross-compiling, because it is not possible to build for both the host and the target with a single pass of CMake.
6d0d7c1 to
6b3e42d
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Compile Python for Android? Android Cross-compilation.
There was an error while loading. Please reload this page.