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

Add android cross compiling support #321

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Jun 28, 2023

  1. Start initial Android support

    o01eg authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    20333aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    579232d View commit details
    Browse the repository at this point in the history
  3. Fix disabling the compilation of decimal

    It was not effective, and it was visible using Android Studio.
    Victor Paleologue authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    49152b1 View commit details
    Browse the repository at this point in the history
  4. Integrate the script for running executables on Android targets

    Victor Paleologue authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    11bbbe2 View commit details
    Browse the repository at this point in the history
  5. Fix floating point endianness checks

    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.
    Victor Paleologue authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    31eb5db View commit details
    Browse the repository at this point in the history
  6. On Android, use variables to deduce target platform's triple

    It avoids the need for checking it by running a program on the target
    platform.
    Victor Paleologue authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b661d34 View commit details
    Browse the repository at this point in the history
  7. Do not regenerate importlib.h and importlib_external.h when cross-com…

    …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.
    Victor Paleologue authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    3a9d6d5 View commit details
    Browse the repository at this point in the history
  8. Disable looking for libutil on Android

    esnosy authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    fbbbd98 View commit details
    Browse the repository at this point in the history
  9. Refactor Android related CMake configuration

    esnosy authored and jcfr committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    6b3e42d View commit details
    Browse the repository at this point in the history