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

A preview of the STL refactor for testing purposes #1973

Closed
wants to merge 21 commits into from

Commits on Aug 25, 2019

  1. [recipe-stl] Add android's STL lib support to Recipe

    To allow us to refactor some common operations that we use in our recipes that depends on android's STL library.
    
    Note: This commit will allow us to begin the migration to `c++_shared`. This is a must when we move to android's NDK r19+, because as for android NDK >= 18 is the only one supported STL library.
    opacam committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    c9d2633 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07d3429 View commit details
    Browse the repository at this point in the history
  3. [recipe-stl] Make icu a library recipe with STL support (rework)

    Also done here:
      - Remove hardcoded version in url
      - Disable versioned shared libraries
      - Make it to be build as a shared libraries (instead of static)
      - Disable the build of static libraries (because we build them as shared ones, so we avoid to link with them without our consents)
      - Shorten long lines to be pep8's friendly
      - Remove icu from ci/constants
      - Remove `RuntimeError` about the need to use NDK api <= 19 (because that is not the case anymore)
      - consider host's number of cpu to perform the build
    opacam committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    51bad93 View commit details
    Browse the repository at this point in the history
  4. [recipe-stl] Rework pyicu recipe to match latest icu changes

    Also done here:
      - Remove icu.patch because now we don't have the version in our icu libraries
      - Shorten long lines to be pep8's friendly
    opacam committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    7b5d2d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e089e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4ea0d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b5d9b0d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7445ee2 View commit details
    Browse the repository at this point in the history
  9. [recipe-stl] Make leveldb a library recipe and...

    make it work with the reworked snappy recipe
    opacam committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    8690200 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    08a933a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5851e90 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    83ee9da View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7ebc0d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. [recipe-stl] Rework of libtorrent and boost

    which:
      - fix build for android's NDK r19+
      - allow us to build `boost+libtorrent` for any arch
      - Update boost to version `1.69.0`
      - update libtorrent to version `1.2.1`
    
    The build method needs to be changed because one of the scripts used in `boost+libtorrent` build (make-standalone-toolchain.sh), has been removed from android's NDK. [This is because](https://developer.android.com/ndk/guides/standalone_toolchain):
    
    `As of r19, the NDK's default toolchains are standalone toolchains, which renders this process unnecessary.`
    
    Note: since 3887d2b, `python-for-android` uses android's NDK r19 as the minimum supported and also changed the build method used by p4a as [described in here](https://developer.android.com/ndk/guides/other_build_systems)
    opacam committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    205e707 View commit details
    Browse the repository at this point in the history
  2. [recipe-stl] Rework of protobuf_cpp recipe

    In here we do:
      - inherit from CppCompiledComponentsPythonRecipe Because depends on android's STL library
      - make use of the base class methods for library recipes
      - Split build_arch into proper methods
      - Shorten some long lines (to be PEP8 friendly)
      - make generated library shared
      - remove recipe from CI/constants
    opacam committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    5647b35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ba3c45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b55a918 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c49824 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b11b724 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    623b0c4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1efc69a View commit details
    Browse the repository at this point in the history