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

Update the build process for Boost on Android #711

Closed
wants to merge 6 commits into from

Commits on Mar 3, 2018

  1. Update the build process for Boost on Android

    The version of the external Boost-for-Android build tool has been
    brought up to date and the Boost.Build jam files that were
    available for use with Boost 1.66.0 have been backported to Boost
    1.55.0 currently used by cpprestsdk. Furthermore, they have been
    modified to support the following features:
    
    - Added support for building with all recent Android NDK releases,
      including r10e, r11c, r12b, r13b, r14b, r15c and r16b.
    - Support for all current Android target architectures is now
      available and working (armeabi, armeabi-v7a, arm64-v8a, mips,
      mips64, x86 and x86_64). All architectures are handled by the
      same patch file, there is no longer any need to download and
      patch Boost-for-Android separately for each unique target
      architecture, which should speed up the build process.
    - Added --stl and --api options to build-android.sh for selecting
      the C++ runtime library and Android API level to build against.
    - Added --without-supportlib to disable use of Android Support
      Library header files, to maintain backward compatability with
      previous behavior.
    - Building Boost within Ubuntu on WSL now works correctly, as some
      of the environment variables used for paths weren't correctly
      encapsulated in quotes in order to handle paths containing
      space characters.
    
    The default build configuration for Boost on Android remains
    unchanged from the current settings. Boost is built with the
    gnustl_static C++ runtime library, Android-9 API level, without
    use of the Android Support Library and only for x86 and
    armeabi-v7a target architectures. However, this can now easily
    be changed in configure.sh by passing in different arguments
    to build-android.sh.
    Jesse Towner committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    b30d4f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2018

  1. Minor changes:

    - Make sure we build Boost.Atomic
    - Comment cleanup
    Jesse Towner committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    b06d5a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. Carried forward build improvements for Boost 1.55.0 to Boost

    versions 1.65.1 and 1.66.0. This should make it easier to
    move to the latest Boost releases if desired.
    Jesse Towner committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    0f8323a View commit details
    Browse the repository at this point in the history
  2. added support for c++_static and c++_shared runtime library aliases f…

    …or parity with CMake ANDROID_STL variable values
    Jesse Towner committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    5330963 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Added support for Boost 1.59.0 and fixed compilation error with

    Clang when including the Boost.Asio headers from 1.55.0, causing
    an infinite recursive call to be detected in an operator~ overload.
    Jesse Towner committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    c12539b View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Build both release and debug variants of Boost for each target archit…

    …ecture.
    Jesse Towner committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    aa383ea View commit details
    Browse the repository at this point in the history