{{ message }}
Add android cross compiling support#321
Open
jcfr wants to merge 9 commits intopython-cmake-buildsystem:masterfrom
Open
Add android cross compiling support#321jcfr wants to merge 9 commits intopython-cmake-buildsystem:masterfrom
jcfr wants to merge 9 commits intopython-cmake-buildsystem:masterfrom
Conversation
Contributor
Author
|
I've just tried it, it works great, but it still does not execute the |
|
here's the configure command I'm using btw |
|
for some reason this patch produces different check binaries than master |
|
Here are results of |
|
ah for automatic running on virtual device my bad I should have used the instructions from unix docs, |
|
here's my final config command, now using the default Python version as Python 3.10 fails for some reason |
bf53a65 to
7a07b4d
Compare
Closed
This was
linked to
issues
Jun 28, 2023
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






This corresponds to #280 being rebased against current master (along with extracting documentation into its own
CROSS-COMPILING.rstdocument)dockcross1Footnotes
https://github.com/dockcross/dockcross#readme ↩