mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-02-07 12:24:24 +00:00
switch target to 31, boost to 1.78.0
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
292a67d1be
commit
d6bfbc954d
@ -8,11 +8,11 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 31
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.purplei2p.i2pd"
|
applicationId "org.purplei2p.i2pd"
|
||||||
targetSdkVersion 29
|
targetSdkVersion 31
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
versionCode 24000
|
versionCode 24000
|
||||||
versionName "2.40.0"
|
versionName "2.40.0"
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
BOOST_VERSION=1.74.0
|
BOOST_VERSION=1.78.0
|
||||||
BOOST_VERSION_SUFFIX=1_74
|
BOOST_VERSION_SUFFIX=1_78
|
||||||
BOOST_LIBS=date_time,filesystem,program_options,system
|
BOOST_LIBS=date_time,filesystem,program_options,system
|
||||||
|
|
||||||
REMOVE_BOOST_LIBS_SUFFIX_x86_64=-clang-mt-x64-${BOOST_VERSION_SUFFIX}
|
REMOVE_BOOST_LIBS_SUFFIX_x86_64=-clang-mt-x64-${BOOST_VERSION_SUFFIX}
|
||||||
@ -13,7 +13,7 @@ REMOVE_BOOST_LIBS_SUFFIX_ARM=-clang-mt-a32-${BOOST_VERSION_SUFFIX}
|
|||||||
|
|
||||||
function build_one {
|
function build_one {
|
||||||
echo "Configuring and building..."
|
echo "Configuring and building..."
|
||||||
CXXFLAGS="-std=c++14" \
|
CXXFLAGS="-std=c++17" \
|
||||||
NCPU=$(nproc) \
|
NCPU=$(nproc) \
|
||||||
./build-android.sh \
|
./build-android.sh \
|
||||||
--boost=${BOOST_VERSION} \
|
--boost=${BOOST_VERSION} \
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
||||||
function build_one {
|
function build_one {
|
||||||
mkdir -p out/${CPU}
|
mkdir -p out/${CPU}
|
||||||
cd out/${CPU}
|
cd out/${CPU}
|
||||||
|
@ -2,23 +2,18 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
||||||
function build_one {
|
function build_one {
|
||||||
mkdir -p out/${CPU}
|
mkdir -p out/${CPU}
|
||||||
|
|
||||||
echo "Configuring..."
|
echo "Configuring OpenSSL for ${CPU}..."
|
||||||
./Configure \
|
./Configure \
|
||||||
${TARGET} \
|
${TARGET} \
|
||||||
no-shared \
|
no-shared \
|
||||||
no-ssl3 \
|
|
||||||
no-comp \
|
|
||||||
no-hw \
|
|
||||||
no-engine \
|
|
||||||
no-tests \
|
no-tests \
|
||||||
--prefix="$PWD/output" \
|
--prefix="$PWD/output" \
|
||||||
-D__ANDROID_API__=${API}
|
-D__ANDROID_API__=${API}
|
||||||
|
|
||||||
echo "Building..."
|
echo "Building OpenSSL for ${CPU}..."
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
|
|
||||||
make install_sw
|
make install_sw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user