From 2230b8309cbf52973394df170bc7232063ce1e9e Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Wed, 17 Oct 2018 22:38:29 +0200 Subject: [PATCH 1/3] Add support for r18b --- build-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-android.sh b/build-android.sh index 6e50feb8e..da89c0505 100755 --- a/build-android.sh +++ b/build-android.sh @@ -294,7 +294,7 @@ case "$NDK_RN" in CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/arm-linux-androideabi-g++ TOOLSET=gcc-androidR8e ;; - "16.0"|"16.1"|"17.1"|"17.2"|"18.0") + "16.0"|"16.1"|"17.1"|"17.2"|"18.0"|"18.1") TOOLCHAIN=${TOOLCHAIN:-llvm} CXXPATH=$AndroidNDKRoot/toolchains/${TOOLCHAIN}/prebuilt/${PlatformOS}-x86_64/bin/clang++ TOOLSET=clang From e5dbf0d54477a3c0caa23e5c988c4fb256d820a5 Mon Sep 17 00:00:00 2001 From: Jeremy Jao Date: Mon, 5 Nov 2018 10:02:20 -0500 Subject: [PATCH 2/3] add 1.68 boost patch to 1.67 (#148) --- patches/boost-1_67_0/boost-1_67_0.patch | 32 ++++++++++++++++++------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/patches/boost-1_67_0/boost-1_67_0.patch b/patches/boost-1_67_0/boost-1_67_0.patch index b947ddec3..ecc4b2277 100644 --- a/patches/boost-1_67_0/boost-1_67_0.patch +++ b/patches/boost-1_67_0/boost-1_67_0.patch @@ -1,6 +1,22 @@ +diff -u -r boost_1_67_0.orig/boost/asio/detail/config.hpp boost_1_67_0/boost/asio/detail/config.hpp +--- boost_1_67_0.orig/boost/asio/detail/config.hpp 2018-10-08 16:04:37.000000000 -0400 ++++ boost_1_67_0/boost/asio/detail/config.hpp 2018-10-08 16:08:24.000000000 -0400 +@@ -804,7 +804,11 @@ + # if defined(__clang__) + # if (__cplusplus >= 201402) + # if __has_include() +-# define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1 ++# if __clang_major__ >= 7 ++# undef BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW ++# else ++# define BOOST_ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1 ++# endif // __clang_major__ >= 7 + # endif // __has_include() + # endif // (__cplusplus >= 201402) + # endif // defined(__clang__) diff -u -r boost_1_67_0.orig/boost/config/user.hpp boost_1_67_0/boost/config/user.hpp ---- boost_1_67_0.orig/boost/config/user.hpp 2018-04-27 17:32:47.000000000 -0400 -+++ boost_1_67_0/boost/config/user.hpp 2018-04-27 17:34:24.000000000 -0400 +--- boost_1_67_0.orig/boost/config/user.hpp 2018-10-08 16:04:36.000000000 -0400 ++++ boost_1_67_0/boost/config/user.hpp 2018-10-08 16:06:05.000000000 -0400 @@ -13,6 +13,12 @@ // configuration policy: // @@ -15,8 +31,8 @@ diff -u -r boost_1_67_0.orig/boost/config/user.hpp boost_1_67_0/boost/config/use // #define BOOST_COMPILER_CONFIG diff -u -r boost_1_67_0.orig/boost/system/error_code.hpp boost_1_67_0/boost/system/error_code.hpp ---- boost_1_67_0.orig/boost/system/error_code.hpp 2018-04-27 17:32:49.000000000 -0400 -+++ boost_1_67_0/boost/system/error_code.hpp 2018-04-27 17:34:24.000000000 -0400 +--- boost_1_67_0.orig/boost/system/error_code.hpp 2018-10-08 16:04:38.000000000 -0400 ++++ boost_1_67_0/boost/system/error_code.hpp 2018-10-08 16:06:05.000000000 -0400 @@ -17,6 +17,7 @@ #include #include @@ -26,8 +42,8 @@ diff -u -r boost_1_67_0.orig/boost/system/error_code.hpp boost_1_67_0/boost/syst #include #include diff -u -r boost_1_67_0.orig/boost/thread/detail/config.hpp boost_1_67_0/boost/thread/detail/config.hpp ---- boost_1_67_0.orig/boost/thread/detail/config.hpp 2018-04-27 17:32:52.000000000 -0400 -+++ boost_1_67_0/boost/thread/detail/config.hpp 2018-04-27 17:36:44.000000000 -0400 +--- boost_1_67_0.orig/boost/thread/detail/config.hpp 2018-10-08 16:04:40.000000000 -0400 ++++ boost_1_67_0/boost/thread/detail/config.hpp 2018-10-08 16:06:05.000000000 -0400 @@ -417,6 +417,11 @@ #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO #elif defined(BOOST_THREAD_CHRONO_MAC_API) @@ -41,8 +57,8 @@ diff -u -r boost_1_67_0.orig/boost/thread/detail/config.hpp boost_1_67_0/boost/t #include // check for CLOCK_MONOTONIC #if defined(CLOCK_MONOTONIC) diff -u -r boost_1_67_0.orig/libs/filesystem/src/operations.cpp boost_1_67_0/libs/filesystem/src/operations.cpp ---- boost_1_67_0.orig/libs/filesystem/src/operations.cpp 2018-04-27 17:33:02.000000000 -0400 -+++ boost_1_67_0/libs/filesystem/src/operations.cpp 2018-04-27 17:34:24.000000000 -0400 +--- boost_1_67_0.orig/libs/filesystem/src/operations.cpp 2018-10-08 16:04:50.000000000 -0400 ++++ boost_1_67_0/libs/filesystem/src/operations.cpp 2018-10-08 16:06:05.000000000 -0400 @@ -207,6 +207,21 @@ # if defined(BOOST_POSIX_API) From 3f096b19418f14e1f0e1b2c1f3a659acb456c029 Mon Sep 17 00:00:00 2001 From: Ralph-Gordon Paul Date: Tue, 11 Dec 2018 09:49:29 +0100 Subject: [PATCH 3/3] Fix arch filter for ndk r18b --- build-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-android.sh b/build-android.sh index da89c0505..28774787a 100755 --- a/build-android.sh +++ b/build-android.sh @@ -314,7 +314,7 @@ if [ -z "${ARCHLIST}" ]; then case "$NDK_RN" in # NDK 17+: Support for ARMv5 (armeabi), MIPS, and MIPS64 has been removed. - "17.1"|"17.2"|"18.0") + "17.1"|"17.2"|"18.0"|"18.1") ARCHLIST="arm64-v8a armeabi-v7a x86 x86_64" ;; *)